Professional Documents
Culture Documents
Dbms
Dbms
) whot is dEH9
anroduce d
duving 160's.
O s e d tor controlling databases either in the havd
di sk in a PC or on netnooik.
DB Lanquage Cnqine
Ouery ortimizer- optimites query lanqua9e and ideniy th»
ber plan for exe tutin9 Ihe query fo (etch the lesult
as fast as t could.
Ckups,
Peyfor mance monitOYIqSecuig Manag eM eAl .
ode
1Pes ef DBNS'-
Navigational
RDBMS
00DBHS
DRDBHS Oh ject Rela ional
> i e vaYchiol - One to one R-Tree u c k u e
dhat is RDBH S
Hanagement Sys em
- Retational batagase
10tToduces duing i70'C.
relat1Onal
model Inscad ot Navigational
70TOduced
table.
relationghp
bo
HaI
Re
and in det e
Uiprinoy
keyt , toteah
lational mpd el uçeg dabobte
he e
techniques lo avoid edundao in the table s
.
subs
FDENC fDB C.
DBHS
DBHG RDBtS.
Din 1160S .in 1970'
Follooe d Navigalional DER.Relationships bl o tables u sinq
toY sioage keys, in der ot.
Dqta teichinq is slotoer cor aser because O iB Telatio nal
compler and latqe v amount o{|mod el.
data
DML SELECT
NSERT
DELETE
UPDAT
DCL GRAN
REVOICe
h a t is DDL in sol2
database tablenae ,
or slored piOteduse
neo
dotabas e
Ex-
C r e a l
CREAT
pA1BAE erplainjava
erplainja ya
CRCATE TAAt user
Creak tabte
d iNT6) PRIn ARY KEY UTO INCREHCN1
name vARCHHAR(25C) Nor nuLL
2) DEUP- DROP etatemeqt atloos qou tD remo v database
1able, indek o Stoved PIOtedurYe
data structures
3) ALTER It iS Used to modity existing database
Cdatahate, table)
C: AlRr table
vwhat is DML in
s0L?
t is used 4o build SOL queries to manipula e (setetc
nset, dclett, updae et-c) data in databae,
SSELECT *
ERO Stud enti
rows Ho the
INSe RT This commgnd is uSed to add neJ
database table.
laStna me -'ghaik'
4DELE te- dELETE query iemove s enries vo ta ble
ohat ie DCLis
SQL
Tts Command ale esponctble
r fo attesi YesttitioN
incide ef the databa te.
) GRANT-GRA Command qwes permlesiogs to SL
user actount.
ELUSH PRIVILEGES
dmytto@tocalhoet
Save chang e i
FLUSH PRIVILE GE ,
what is tcL
ransattiors in c l dotal,ay
Its command are uc ed to manage
and sores
COMHIT Commit Command einishes tvanca ion
all changes made inside o a ttansa Ctio n
EXST
STARI RANSACTION
INSERT INTO Student (name, tastname) VAwe s(Ayema , shaik
COMHIT,
) ROLTBACK- Tt veverk att changes made in the gcope
etronsaction
¬X START TRANSCTION:
IUsERT INTU student (name,lasthome) VALUES(alelo,shaik
ROLLBA CK
tJRich conbe casil
hormalitationynende
zatiomsalable
tqoue
dvgh
NOrmali
t isa technique of orqganiaing he data into
multiple velated tabl es, to minimiz o Data Redunda nc
a) 2EL A B ,ED
where A is prine qttribute
4 Bshot
)The table should in NE
here. is part bt candidak ky
partial depe0dency. depends s dn
A
) there should be no
rather thon depel
3) NE On entue ck.
on some
an aribuk ohich depend s
Theve is
atmbuPe.
and not on pime
non-pime attmbu