Dbms Assignment 1
Dbms Assignment 1
551GNMENT
QDiscuss the mafn characteristics of the
database approach and how 1t differS from
traditional ilesystems
felnJhe ma characteristtcsof the cletabase
appraach versuS thefileprocessing appLoach
are thefollouing
SELE=DESCRIBING 'NATURE DE A DATABASE
SYSTEM1
Date: YOUVA
_PROVIDINGSTORAGE STRUCTORESAND
SEARCH TECHNIDUES OR EEICIENT
UERY PROCESSLNG
Database systems must
provicle capabilitiesforefticiently execubing-
LLerie s and cpdates Ihe Leryprocessing.
and opiimizafion module af the DBMSis
Lesponsible for choesing an etficienfqLer
eNecLton planfor each query baseo
en theexisfingstoragestruchuLes
5 PROVIDINGMCKUp ANNDRECOVERY
ADBMS MLLSt proviclefacilites
for recoVering_romharclwae orsofHoare
fallures The backup and recoueryubssystem
othaDGNIS résponsihla or recovery 1he
recover ubsjstem celol ensurethat the
transaction resumeclfrem th2pointat
hichitasinterrupted a0 thattaful
ellect srecorded in the dafahare.
C PROVLDING MULTIPLEUSER NTEREACE6-
Manytypes o Lwers ith varying
levels_ef technicalknoueledge seadetabace
aDBMS shoulel _provicleavariety ouser
interfares jor example g1ry_languagesfar
ntertale
casual usersprogramming angugintcracer
formsand/ or
for oppllcafionpregammers
Command 0des or parameticUSers_menu
lriven_ inderfacesfer_stund-alone_users
DREPRESENT ING cOMPLEX RELA71ONSHLPS
AMONG DATA
A DBMS must have thecapabilik
D r e p J e s e n t Varie ty ofcomplex eletlons hin
mong the data
among9- fo detine ne relatonships
asfhey_arise anc fo erleve and upelatee
selafedolala easily_cnd eltlctentl
M
PageNNo
Date YOUVA
8ENEORCING_INTE4RLTY COSTRAIN7s-
Most database applicaions ha
cerfatn integri_constraints that must hole
for the dafe 7he simples
ypeo intear
constraint
invohresspecifying a data tpe
for
or ench_data item A more complez tpe
constrcuint that freguenty _eceurs
invchvec specifying thakia vecorcl n_pne
filk must berelated to records in ethe
Ftleshis s khoon asa referenHal inteaik
constralnk Another typeoconstrcilnt
Specifies unig uenes n_data fem vaua
this_is 6noN aS a heyorunigueness
Constraint.-
DML LCompllec
Op.imize Compiler Tansachi
DBA Commande
ueries and Transactons
Runtime Storec
N Databas Dala
Stjsten2- Processor Manaqer
Lataleg
Data concuirenw control
Dichienary} BackupRecovery
thsystems
eeciution
he lower partshouss the internak of the
DBMS Yespensibleforstorageofdafa anc
processin9 fronsactions
Page No
Date YGUA
40 0n a queLsLompiler_tha compfles_then
into an nierna form.
This nternal ergissabjected te query
Dplimizalon
LLCry optimizes concerned sifh_fhe rearrang
-ement ancl possiblereordering a opera hions
eliminabion af redunclancies a1d uSe
Correcalgorithms and indexesduring ereccuton.
APPCICATIONNPROGRAMMERS
Wrtte programs in_hast languagesJuch_as
Java (_orLtt that _are subntHed t a
pre compiler
precomp?ler extrack DML commanclsfrom an
applfcation pregram
Commands are sent o the DML compiler_for
compilaHon_
rest sf the program ssent_fa Me hest languag-
Compfler
1he ohtect cooles r the DML commands anc
anci
0ate YOUVA
REEERENTLA INTEGRIT
This ensures thoak thelink betuween_the
transactinn table and part table_s_correctly
tormed.
In a transacion fable_the itemnumber
tor theoreign_Ky which_s the-
attribute that 1inks to the primar ke
of_the table
thethe transa.ckion table contains an ftem
number thats aso in_afable
oiningthe ables together A22LLl cause
transaction oith miss)ngoletallsleft
Out o resuls
M W T
Page No:
YOUVA
Date
AVA=1243 5O 12
eliminatec,_
Here the duplPcate elaments re
2 2 3, 12 16 20
AnRi2,3
it A 1,2, 6 9
Date YOUVA
MINUs_OPERATION = / CxcEPT)
A-R
Here A andB_are elqHons anc
4-3=/6 19 20
= X= - X