0% found this document useful (0 votes)
65 views

Dbms 1

database management system notes

Uploaded by

jagadeesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
65 views

Dbms 1

database management system notes

Uploaded by

jagadeesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 22
DBMS Hopote ~ 2 oa Keftne DONS. Wwhab ace the funciona of NBN? d what ade the eelvantages ancl disadvantages of pRNe e @ AL Qala Base Hamagement Eyakem (DBD) S DANS es a Collection q prrogaams Wal amamages cdafladerse — Steuckure cand wonteeol a@ecer do dala Alcueel 4 the wdatadase: (OR) dt is a cotlection 4) Gnbeetwclated dala cand a det of progranrs to econ Ahoae clair General saugreac 4 to alle. athe ae satach defintliin, , cuealion , queny ings, 84 adyninialeation of ce yee) AA. Sanchious 4 DBMS * Ae Daa Atorage ananageme rt : one of the moat Eypoatend Tanks jor DONS ds to cette o datalere fer conyulere , daca : anamage the cata. ; 2. Accutity, Hanagement > DBNS provide a high devel 4}. acunily, amenpuses wwaing, various Aocusity, calgeiths fo keep the date dof comd emdure the dale pavers, 3. Backop and. ‘Recovery, Management + ‘Je keep the data safe amd enause dhe Anbegstly . she database Ayalem provides tthe | fkuses for ourup & wccovery, emanagemench. Jp. Dababare decors Language § Application ‘Reogsammning intewface : DBHS provides a pat which s alae wcallec! 0s gp domguo- 4l in ward Jo accom the PB & manipulate tthe dota . pans ws cleaign yeclate cand @ scanned with OKEN Scanner 5- Ruta Ricbyonasy renagement 5 / do The ote dictionavey, , % Alowes the cata cmd its elated information about ts delationahip- 6. Dake’ Transformation & pucsentaton + : DBNS provides the functionality, 4 lata, dksanaferation, udich means progeammect meecl mol roorsetiy about dhe dita § Physical gpuedentation 6) the data. f. Muth? User Acces Contaol + Hove Ham me mace Cam aceon The idotabare anf the Sametime without any problem. 3. Data anteguity Hanagemovt ) Polabare Ayalems provide lata Sibegaity mage ment Op monindyirg The dala conaiatency & niininiging “the data vcdurdanceh - Wdvankag ea DBNO * > dmpeourd i aboadig, wnd alata eeeuaily, => Ejfective dota di ion. > coated, weliable dala, = Gata Hot somyalies wail, poivac, crepulabions —> Inceeared prcduuckiuity, “ — Riblee decision ~ mraleng Pirodvankages Af DANE: — Incuenred coal ds ene Y the wnain Aisoduanteg ea oy 0848, “the Ceak may be omy Fyne Uke Rardiaate / Aaftwate eke . > te Voy Lony lex bo ar. [comyrliatty J — Aotabase atlases — Parjoumante Ci) dala is moue DBMS works Rlove ib cata dilen thhooutks boat @ scanned with OKEN Scanner Qa) Nui , Ay ——— =“ ile Nols en Pus ¥ Data bare Ayalon ud _ fraggle. ef. Bs Aayilom ci ts Drake the cblcrbare Cr Piendly , cand dis cody oywakions. ‘ “The pyle aj clabbuse dike 14 do ponage Te (ollevtrg iniecucities : Gala Redumdancy g tn contiatency 2 4) there ue multiple wepied Juat overda ft. ab fuat pointains data in 0 Airgle Genwritory . Pijpiadty in attening cata: DB con eaaily rrarage tp atten dake Thesugh dtyjuent queria, Tecan accom dake Juore the: dbletnae Rata Woldtons . Qua ove inated in Aoyeral . figlds in “the “Aome database : . i . i atornicthy qf updates 4 coe $n. nf, pow { ile, “he chinhase might lore dato Gor ihn Jeokwe WH automakialty prevent cto lev Contusaent acces : i , udeas (on fone game “ime Seoul hy Puoblemt ! a Qatabare aydlem pill make “he uertuiched accor. @ cote. port not he Valherable: Seeger mulhiple views af cate : + @n nnouk ‘ ; Pere dup musbkiole view! g cba a3: gue ' @ scanned with OKEN Scanner the ‘arne doba , tt multiple Gets de dalabare at the cleaufurd view, as thot need Gn howe “ee ec. Orly dedabase. adminy pee Pe g the chtabare, We Cannod alliou b) . aview 6 clevelepers. Waal, a Nok on “View a Rata" tn DANS View dota 4 ° the ae ets ty the diffoend mip Jo dhe Hag gen Ayalem ty the awrer Aiding q e. . , Levels 4 alyataaction’: , BE Nahty Conyler ‘dota.’ Thue are % levels 4 abstuachon Thay ane —> Physicad lee! — Logical jewel 3 Vitww bevel: ; Phupieal level t- fh is, called The ln oe oy internal taal. ot deacaibes hs * oe actor in The dobbose: AL Me lev yuck € dear Coe Deiti giau Taugisds sailed the middle tere 4 teva SY eclevcartbes, ree : red in enuals iw hovel + 44K Caled the higheat level as the data Atored Ino colabaure oF o partiasar, moment ‘Hime. Qcherras due the oyeoll ctean Y chlabade. cqhe PrAtances Que adually , Copies @}' the ‘ nalant dake Ora iyjouration, Buk, On the Other bord, Shera iclart Contain any data d Any injormatton. @ scanned with OKEN Scanner @ %) Walle moks om “ Pata Hodes” Ans. Qala Models : Gola model is dhe meodiling .ef the lata: doreaip- ction, ddla. dumank cond seonniakeney, edoratuotrls of the date. gt pacuites dhe coneerlual tools fou dency. che wchatn 4 2 dafaare wk each devel of dota eabaluctlicn Qala Models . i 1 : Relabional — domialuadiad enlity - object based! data rredel dala model — Relation lala emnodlel. pee del 4-Relabimal, dala odd: this Supe 4 medlel cleat contains the dala io the josm of, eur vomd ctofurins with Thus, ¢ ior amadel wrer Sables fe eqpacamnbing data sare in ~ bebuxen ccelationships- Mller ave alas ‘atled weldlions : This anodel aoas inhi eceacceibed Fagan F. Codd, in 1169. ie dane ne esi awidelp woud med a dala peor wih wu trracily, aod commeacial f o "4 alba Cecluw n> N 8. nitty -Relakouhip Aale mod el / : dn ER umodel is the degical eeyrcarnitation of, dein or ejects comd uelahowshps dmeng them. theae Diets wae brown Br emitter, amd uelationship 4 am © Scanned with OKEN Scanner Mroeciakion among Hwac embites. thes model was Sea\gned Fay peter chen 8 @ublished in 196 pape. ; “QPEe Qe " [een } — caltege | 3. Object based alata model : mn endenaion 9} | the ER model with motions gp fenciow, emeayprulation . donc Dhpet iclemtity , an well. Thy model Auppocets a cich tyne aterm tat fncudes Alauttined! : ous Gaile base amd aetlecton tyes. “Thus.,fn t9B0's Voce Aylin follecirg, the selyect ~ Osucemted Oprwoach XE developed. Heae the Objects due nothing hut the dota Couey, ik (ruppedtios « lp, Zomidtuuciued dota Models ~ This tyne gh wala model ia hi ffuemt fu the Alu true lata models. The demiakeuiclined ” wate model callsun the wate Aperifécatims at places whue the individu loka items @ the dame tyne may howe di'{fuert abtuthcles sd the. extensible Honk upp lamguage CXNC) A Lwidel aunecl for wepuerenttry the demintcudtined eta- ? A) touike nots on * Datalocte hranquoges” Potabore ha : : A dattulnse dyalem yaovicles «a lati. sclejiition domguoge de Apscifp the dalabare dchema ancl lola anamipulation domquage 35 exjaser desta dicrte grusties ond @ scanned with OKEN Scanner updates. dn. practice , the wlala dlejivition and! Tramifula- ~dton ages auc mot Live dycate darguages » fnaleod hey si learn prouts of oO a Adlabase damquege , duch ad the side, aad SQL lamgunge- Gada hare langueages auc! Rate Definition harquage Cape) Dake Hanipulalion Language (An's) Qaba Comtucl harguage (ACH) Juansachon Contal Language (Teh) Dake Definition ha age (ADK)? ee din damguage ae wad Je clefine dalicbire Alaudiue Ox patkecn ‘ SE ts acd to Cucafi doheme, fables jindexes. database. Conbuaints etc. in dhe ements, we-Can’ Cexeale the Using, the par Akal Akeletom of the Aatabese dt is ward to aAkoue the Tnfoamation q meta datec {oke the mumbe % fables dnd Achemos, tui, names, indexes, goumrs fn tach table, fonstuaints . ete. Zome taski that Gome unde ADL Heae aue 5 tucate 1 gf und to Cente objects Tr “the database. -S Aller : Jk i dtoad % alter the Alcauckive of the chtahase — Ruop: JE iB suudto delet. 6ljtols from the database *. > Jouncate: IEA wad te vemove all etecourdls oma table SRerame. 9b is wad to cename an object Comment Jt dy used tS Comment on te chute Acvorawy. sii Coreg ape Seni @ scanned with OKEN Scanner The cota. values Adoued Pn the dakibare amuat dababy, Corlain Loiatency otuarnty auch as Domain ConAluaints: A domain 4, ponible values must be aren Anocialed yyith every atleedbele. Refesercial equity ‘Jo ensue that value tal Oyen in ™ ceelation joragivn det of allechules alio tayyreat in Ceulein Ae 4 faltuchutes nr anothe uelaton. . Witeahons: gt is any Contliton that database must Oluxcins dacbohey « vibove hoo wae dplttal forms aryertion fathourgetion: the hi} fucendvadion among the wan aue ~ i eryprenseol in terms cuthourzo.h on Fch o4 dead authettyation, Inset authowi zak on, updada aucthous'sech'on , delete authow'pbon . Data Manipulation hanguage (ANY) Jt A wad Jou acceatirg, cmd amamisautating cata fn a databare, the types of Occen auc: —5 Peluieval of Tafoumation aloued in “the daktbase ” — Insertion q nee frtoumation frite te catabate — Reletion Trfoumahen — Lom the dakubase > Modif cation éf fnfoumation Afoued In “the chide bese. DHL iA basically & tyne: ‘ + Puotedusal AHLS - we iuesA Q ther to Apecidp what - deta ave needed % how to get those cece ' = Declacrative QHLS - tlequued a uteet. to apecisy. ratak ate ue needed switho Specifying, hove bo gut Hhobe cote. Heue ade forme tase hat Gme urde OHL:’ ZS fled 1 St ix used to uelaive data Jaom chtabate nes ad @ scanned with OKEN Scanner Insert: dt is used Jo trreeet cata into a tuble — Updale : dt ts srred bo update eniating, data witlin a . doable > Aeleta : dt Ly wed to delete alk crecorcts Jrom atabte Merge: dt frou UPSERT Gpaction, ie, Enseal or Update gpeuation. SDall: dks wtedt @U a Alcuchred! que. hnguog. => ylain plan: gt Pars the Jracornelea J englairing clata > Leck table: $b Conlacta Gon couneee Cy Dal Contact harquage (Nu) . dk is wad te celuive The alouect ov awed dain. “the Ach execution us duansactional. gt alae has ucllback -prouanreteees . tas dece” ace Some tasks | Come undes Rel, tant > SED aiaed fo give wes accen prsivileye toe dleckihbase © F , —>Revoke: dt is ured to take. bac, purmerions jtom the wrer ‘CONNECT, INSERT, USAHE , EXECUTE , DELETE, uponte ard SELECT + cane the gpeactions Lchich ewe. He authouation of uevoke. Taartachion Cntual Larguoge CTcx) Ton ds. wre te wun athe: wharges mace DNL Aldermen. TOL can Le ‘guoujiedt ints a logical fuansaction. souls Come vr TOLD : / —stommit dix wed to dae the tuamedion mn the "database Rollback: 4b is wred to wetthite the chi base to cergtnal Ainre Hie lark commit . @ scanned with OKEN Scanner J. Nate mote on Different tynes of Dababose werd. A lave sie sites wae cabegortgad dosed upon Tl interaction ith The dalabue . these ave 4 tyne id amd pour J datalase. Ib 4s alos ceeaporvaible pm piovidlig Acousi otabare - . . ji calan vinsrilozs the wecouenp amd bockup g pusuide — DBA " echnical Avyywout “3 DBA dA the ome having paivileges ub m pcb (Seta! conbirol Lonquage Gyuations Auch 04 Spank andl REWKE be 4 the chtabsie- wallow] verkuict pocliculas duea yom atu Naive} Powametuic Enol users, “These urerd donk howe DBNS Inowledge Lut’ \ used the ae ayy sicadions In. eit sot ae the -dudised ° oi yen Anoliysk rn oa ah araliry adem Analyst. a ib o vau es ie » paramedic enol ubers. “Ray check ex Gj ond aud’ ate Adodiapied -. coled User There piers lam De engineers, mb .. dgusineys ak, who owe fanuliay with” a Aobalare ‘tom exelsp Moir gum dala base ; nt «They dort Kida te ‘ation bated on Rote wequtaeme the puogiame Code hat Interact 0% by. poceiting 401 quertes qiuectly drasugh “the query Procenor- @ scanned with OKEN Scanner Rakabase Derignert: “her, ue te Wert uohe desi the Akuuctive cabibaie which Jncbide! fables, indexes views , Hggers , stowed spyo Cedliues ome contwoints hich ue ced cue the chtabase ik Lucodeel ov populated with dab. “They undoutard ‘the cueqguiaemost of déffuent wer groups then Cacalr a deaign which Aatsfies the mers of alll The user groups Ay lfcokton fucquammevA : “they ave also aefered t0 aiystern -Oralagsts | Aienplyy doffonee Ergineev-| 0, back -erd Puogiarmmers oho toutites the code or ‘fie app Gcakon frond Thae axe awuiten fn he larquoges Buch 2 Visual bate, develope, C, Fortuan ,@Bo- ete. vay deaign, delaug, feat & Mainkatn bet a off Prope one Weanned tuangactions” fer the Naive whem in order do tnteract with dotabaie. Casual, uters |} Lem porary Areva databare Occastonally but ea actem dhe database they Sqyeive gpectalined Ure? Bpectabined users One gophiahated wid who woitk Apeialixed clalibase OpyUosron Rok does not fit tte rhe Juodittonal Cada axe Puot ening —sannenso¥ i Among’ thete guyliotion ate Computa aided design .dydlems, Hrowledge base § exper E date ele. bee 6th & 6 th Hons Aner —foom 1 th @ scanned with OKEN Scanner + pho uses Jaceen' the ch. Hme when they “Re new Information, manera ee ome SOT EEIS ST @ Watle mats on Qatabade Ayalon duchikecluse- Dobrloare Ayglern duchilectue ¢ ; ; Sthe NBME cuatgr ols its aachileclase , the laoate client] te eaten tis ursd te cloal with a Lowge “rumbe Ff pc's web pur, dokabare _ Aerver f othu componeils tral Aue awomnected anith debwoules- Thre wue % types oh auclitectues - / ; ~y A-Ttea Aachitecline . 7 > £- Ves cdchi kectune > B-_ Tier uchallectine 4-Tiew Auchilecdtue Q : In this cuchibeclne the database is dineclly, ovailable to the usu. gt means ‘the used can diizertly ait on the DBHS cand “ures it - , . whamgu dame heve will diaec De dene on the inkant tf jt deem: puovide Wa font ‘toot or ond ver spe: (bier ‘aachileadlure sa aud dor dlevelaorend a HE Loco application, wha onguamnencas @n disecthy veommuniale, woth ‘the aotokore jor the aypick BeyOMAe. ‘ athe geter wuchilecline ts fame as, Gaate client ame aetier pudhitediue, epplitadions on the clit dy, communica actth the otalase at she Spr gia, Toterockon Apr'a like DBC, TORS Dene used » fe uauy jrarjoces And apyicalion progiams awe ~ eliont - Bide. @ scanned with OKEN Scanner Qatabare Aystem eatvel [application vAer * B- be Wachilectine: : i th che B-ter ouchilecdiue cola —crnolhur Oye he “ahienk & Atver . on Huis uchitediwe , client cont i 1 as bac aera Sane th rT tas Sriterads with am “the opyalicabion on the client aa reine copy lication Acwe dushich quitter Lormune a dota hase akem. ay 7 me thas cho tdea about the endabance ofthe cob raw. Geyond “the ayyltcodion Aewee othe dokalore “nig idea obeut Ou oth Ueer Grigond the application, “GRe BeKer ouchiledime “da ured Tn Coase: of lauge, web op ieokons {Si [atabase | client - - |. Server | (rgtaon oa) | oben @ scanned with OKEN Scanner ee — He pain Ovaview Ff Ka babase dleaim, Cavot, Thee Qvueview q dolabare ideaign: dip ah) “the ofaliase ecleat fauocen fan he wdfvided abo 6 ste he ER Model cu moat aelevant to the yiaat “three Ales. Newt hace Aber Sete beyond ie Ele model- al Requaiuernent comalyrta : oy Tél G atl the jvanniing, how bo clone on Usha wue the khaaic eeguaiecermerds 4 the projec: undan aohich the aleaign gq the wlofohare how to be token fscuroacd sha Huy tan Le daftnedt aa: . - ombia Planting 5 hes adage as ceonceansd 20th plammirg hee Ne atohore dlevelgument Sie Gyele the ataalegic que taken {nib account fejese proceeding ; Basle deliattion this Blage Lover he fpoundaw'es & Scares 5 the pre wotabare apt poaneirg.- : 2 Conceptual dalabose cleaiqn + ‘ Once. the FnJoemodion as gaithued fn the ctequtiveme _nba ainalyrit. kp 2 conceptual Aalaboie deaign A develed amd 4) yaad sto lend 0. fiigh level” deacufpl on q the | dala to be Alased ‘in the databaye, albrg pith the Gmitust iu | ated age dnawn to helo Oven his dota. “This Aiep ta often ractesiecd out wsairg the ER «model .. 3: bogical dakabate sleafm : 4n This Alep ceorwat the conceptual dolabare deoimn into 0 database achewo.| in the cata model a the chosen OBNS. In terms of weladional OBH Ss sounck theafoue, the qaak in the logical deat Akep Ls to Grwak am ER Achema @ scanned with OKEN Scanner Pat I fon a welatioral catahase dchema. The aeautk Ta : schema, domelimes Calted the logical Shera, in the aetotional chia model. 4p, Aghema Reginement 7 ' analy ie the uth in DB wleai us tb J ae Vial doitabate Achena to watlection of aclation In Gu uel panes Jenb¥al problems, amd 40 ne te. dn comers guided by Avme ec 5. Phyateal dlatahase w at in the parocen, 8 guar fouming wolabee made! uticnos Aatdeabase ried data abeuclwe Gh eo foot | management atom COR HS). Noumally , cal cleaign «4 \ ‘hed in suddiple aku which include expardirg a hutinem model ink a ' atteibuled mode & then Juanjounirg the jolly’ Cttibuted | mode indo a ahystcal doaign model - \ [6 dat dloniqn : ae i she loat Atzp q 08 sdusiqn in Yo foclusde, aly oolives Bis vA cueguutaed to void murauithoalyd aceen terete. pickets Te ee cogil daring alep in ushich. ast the Sep ore" trferteaned & Cony waite otkurbue + Companite vottoithut Ms mode oh mncue tham sme dimple bbaihek- en. Dhudevtls comyrlete name May hove Jiaak-rame § — Weak rames ; 5 Dewived oltuthude + Obuived! wthurbudes ave the attuibat hot do mat eqit in the poypical dokabase , taut thee, VYolues ave \devived jum otf ottuilutes puot tn the dokabare W5 Aingle value edtuifuct * Airgle ~ valu. : ingle ~ i e ohh -tordain dirgle value. Jor @%2 Aocral - dase ono > Multi Ale abtuibutt,~ aulKvalue, odtuibuiles | mwaiy veoniuin ymoue dam one valuer, “Sor enormple, 2 Peon Can dourt Trove hon -one phone-numby > Cmail—add sca ake. ‘ © Scanned with OKEN Scanner B Gxptoin Along entity ctr & Weak entity Ads Nith erLarmples « : A Akuow omttly a not clependent BM amy Ue ently im the Acherna- ; wa abaorg onkhy wilh aloo howe 0 palrracep key, Stuorg sertitics Laue ceeascatred by 0 dirgle uedlang e aelahomahi ches 2 hip tuo bbw emkthes Ls uepresorde fay oe Airgle cnet “4 Pr Nawious Alaong entities ashen Combined togsther Coreots a Aluong antthy aut: Weak entity’ ‘Auk * . A weak emdity lepordent on a Aluong enti i ynvawe tts eniabance ; umbie a Akuong orkthy, a Autos dembity dises not howe amy patorany feu. gt fralesd haw 0 spauktal diacuienolot kop ‘ { A, weak entity oA ceepreremted hy a double weclargl She veadfon b]w bre strong & one weak ortity & caepueterdes fay 0 gloubte liam ond: “this ualotton dhip is / alas donousn “ar identijyirg, @ scanned with OKEN Scanner Weak enbitg . Qkuorg ontsty 1% Pejine emerabisast on - Explain coraksaiets om gemeralis tom, & Eaquegation. bosttor woach tn tows aa ei ine to symerabigadion + x Spmeraligation ta (ike 0 tohich dio Ot Move enrtitinds Gf Lowe level joum a highe Jevel emily ij they hou Agsrne vattwibutes in Common: . . —> on gqenerabigadion cam orclitiy, of a Suighs devel Lam aly Lombine worth “the emkities o the Jouser level te Jom oe ath Jregfs Jers onbity - 4 embthes | que vtoinbined ty Jam a dubdclames vaae Gmbined =. 4n syne als agtion wat moue gpmeralie) ardity Fe cto make Aupudan- i . PerdAon = @ scanned with OKEN Scanner Fooly | Conahuoints ™m Sumeraligakion : “thee woue theee Conatuaril d+ Glut une determines which omtity com be a member of the lovo-level entity Aut + > Condit defined : gn ts tetsen level embtly dats, Ualuakion o mre rmbedhip wm baais ashethe am entity, datiafias an ompuicit Gordikion an nok: ’ — vry-defined * , : $n tris Lowe Revel emliby, dacs Que mot get scomaluos- —nek by co emdition emamed vmemenrhip ; Users A) dodabare anigns mbhe te 0 given entity dct. 2. Amond uclabes to pohethe i} or mot entities belong to roue thom oe Lpuse — level emtity dot? : —s Biasfoint + “the utgutsemend 4) this eonauaint is that am emily ahould mot Lelorg to qua moue Tham One lower-level ankity dak ‘ 5 Qyulanpirg: ; me codegouy °f emerabgations, within 0 Airgle capneradi-gation The nme onkty moy Lelorg to mote tham one Lewe_leve emtity bok 3B. thiad Apecijies whethu ormot wo enkily Jin the higher Jewel enbity dct smut Qelorg to ok leant one 4 Hhe Lowe Level embity Dak within gpmerasigal or : —> Total aprevaligation | Apeciabigabion - ecording fy this Lonaduaint cach higher-level ently muat deborg fe © lowe levd qritibiy del @ scanned with OKEN Scanner => paral gemeraligabion ] Apeoslioobe some eae According do thin Contuaiins , “4 i to lewu- Wud onbity emtches nrauy mot delorg amy Ate ion the uelation Debuween -Awo oe Db in y ; Konak feky. Im egguegad om. a P ed a Aiinglt ew ‘ “ an ev coutespordi"g entities i agg egeted into 4 Raghes end ort Fy - Cender’ So | Conta enbty OYur the Courre onttly ot a Oo Airgl¢ misty in the caelahonshp whit ds 11 Oo aeletionship with amother entity vinitey. @ scanned with OKEN Scanner

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy