You are on page 1of 23
Quan TUM Universit? Nbe9 io seguaodh Kumose Roll no.. “4%" 9 U byect : Qatodie I anoaye gerd Gyo OTL. 22030465 Submision Wede? 12] ]23 Submillect do. J Apunce Chandlag _Dems | —Tetlonial - 07 ; Ff jGomsiden—a- dalabase leia__sthat™ Uses 0 “tayo “phase locking __puctacel ton comeunsency Pale rola A het the np hasca fl ir ——|¢his po elécel__amd how i+ ensuner - cs oe ovide an exp example how how -the too. L pecking —pnortocel _uculd be appliz— liz —_ otf the. locks it needs ‘befone it torts han + pueventting —pélential inconsistencies - a Shninkin : Toad lfsiinncidh.saoladabielar ka | “Aa etna acquine ew “ene ~~ —“Complets- anc nd oun the en_initéna chien! —| TE ma quanertees that o + _siiinita _neleaaing. Socks. will rizjfene with otha tsangaction. s[ Ti —steleasa the lock pp ocquine it. fi | Ensusing Aenializabillty SF y= phove_loking eenladizability, — by pres “ney a retsgiad "Os onél_ a sead Uo ict i meaning —Cthey —ane— “ina. usay tha“ avoids _Y_inconu | execs & and ‘maintains _-the —iriteganich aI ———} the —databare « - et a - =e | By _enfancing —a__Atmick—p of Lo 2 abguiation © and _melearé the —protocel Lersunes thal the fihal _sesur— is — Te quivaledt to sential onde_of execiiling —“T De eS i) [thatthe U final ee “database Bla) __ | after executing — adel amsac ions son Tebaniitly. 1 ia ¢ equivalest—4a_aomesesial — [ execuificdl of —thoxe trance —_[Applicilion 0] tooo phere Locks ing he_cultorrs_| {Gaze Phase TA _acquities_a_nead_ock lt Fees 3 in jock at _th pening qui lea fe gquasan see he Oe with “the exec [sequential onde even |Jenned Concurrently Example schedule 2 | Explain—the_Jundamertal Ce = Lacnializebi li} img “anges aia (Discus the \Diffenenee pase is sailors cbf Ensunct_ that the _putteome ele veciifina a a tion eh int ait a same serial -enelation those “Fiantaction | Guinsaxitcer Cons is Ondecee ees ne (Ro unentziea oe that could teat 40 meas dt Wee ee |Focusex_on_conflicl-beliocen epeniations — aif ction 2 esp pe af Cam} lick Lead = write and. a is a a ch _ dee [ata i —{long_os | dence —< | Concerned _twith the? fo Hancactiont a abs edulex_ae. viel fem>—_ lon con — equivalent if i ee stl ale fe jsiibleiniten leavinge rs 4 tnansaccHon—_Ace—the Conflict kence__'0f cycles —_im_the pm naph “4 _v fican lysed ina Aenializabi lich and. “Th the Conte a jackin nih ao toa et [las —ashaoled and. ayciees 0 [how diffenci Inge ahve ack waive i lene idual__openotions —one_irife the _ond¥n in 2Eraunes that multiple tne: snsactinns_can read —_a_ sien _lunce con. cunnertly—wsithoud: “Conflicting | Exclusive Lock = Only —one tiansactien_ca acy clusive lod het, of _-govecnulosily : te tien Wao —concunnene, ce iqnif te “1 Prevent —multip a — cen Saat Significance tin fae Concuanersti slink an tencttncet _4o_on_moditying the Aa lei ¢— J esuating date Se “Levels of Cnnanulaxi I “Table =level locks SLocks_ane_applied et the entine table teva) | Simplifies _lockivig bul may" lead to —__[neduced —_eoricunbency —asY ony tz (Him acceding the “table obtains Concept_i_Locks._ane_applied at the | iy the The meee of —datab, ase _foge n Ee i compa nat - a : rmpao.ving oven aman Hi offen bale beacen a iene ace ea fan ity and—concunnency §, ek _pmeventiion io sent access “dif pe + _eoncunnently » —STCaneful opplicotim ef locka-at diffencs a d —| aati lps Cpeewadt detec ocka_— {—managi the ondenin_wl aalhaaedion "h quine lock. >| Concept * Locka ane applied ak the lev 5 eae pple : 2 Significance: —Paovider_the highest lev ra —Yon_scbakeholdes_1_includ | mode lin; [iyo ete ‘selotionships 1am im_the desig | —a_databares —__ _entitie 4 Sovides_a qsmiphieal_oepneseriladion y FD pail apa “nelactionships witht he_xtewetuse a Tans LER! jen_a_visuc ale ee ‘and_mon= technical _usens Vs “to ond the nelatienships _belivcen_entitie |—Aurve_a4_a Dikcun the significance Al emenee hy attni but Candinality —Conctuns developer ni cettien too] nkeholde invoh in —aiffenci 8 lin the da! no paocen* — jPaeside ook nmon__wisia) dafaberes a la pellet a — | Design clan’ lines connect = {ERD heh ; —connecting them. 0 Delationship = — the dein ofa ag andl See ae A — depict gig! otinthifis and mi a ad — hey —assists_im_clean! ae i [eset abel clot of the_Data bate Abips + [his involves indicating_ e ‘inin} and maximum —nvmben of instances Sf onl entity -+thdl canbe akociated ne enti. Common, 44 mbola include "MU dom on 4 Namd_"0" fon sia (3 we YF lesplaie about —deadlod ar fection meted a i [_theseitany—posibil hr he tldes trantaclion that hax bag > some sesounce sete avaliable Jan tenet: eas pecs | ed ae whe eauncet — byt -te_find— : (hy af ra wa see | acecaenet qf dendieck_and¥ inc {eld by then a el tes — cubliy ef ‘deadack « the santactia el be petted ath the 4 TT llewedW to! be paccessed —paimartily she th ana iy I tamp_ot which the narwaction | =| | —__— Tig examined _by_the-DBMS_and_bared oy : Tate drantaction ane _endened. The deadiect’/— Sees Gpmsection rifed _by_using Ac = : O are tance — an > 0 e_“timeatamp ansactien nansaction T |. -they youn 130 Zaleuldle the occurence tf _deadieck: "| [-tnantaction ie, T2 wait undil 011 ncleaa | = [| thea et. Rut when the nesouncer Dfislait-=Die_scheme*— hen a—tuansocsion ax || held by the youngen_tnantactim Toa ——___quetts_fon_the_mescunce [| nequer: eS olden framaction T_ lushich_is_alneady held by —amcthen—tnamactimn {rz is _fonded by Tito Kill “the “tnamactn |-then_thetimdttamps_o{~ the tnansac-tions ane in onden_t_seldase _-the_metowices held by fmedby the DBMS the olden tna [ist _amd_af-teuwand 12a _nesctnated saith (€e_becomet_avai- t clog butt wish th; timesctai “Faso transactions | {_-the_tramsactor 24 ck_Detection = Sedo tT [valu pg betwen co i Trapplied Ekin. “denoted a i_said to! be! in a ~hat_seached_a | Btale_then the consistent stake ~ Seal! back the ‘taiansection toning 1 aad a el fon fails inthe _midd le te Zo sited Ihe Ahninking ph Chen before executing th all. the executed —Inansaction—ane™ rolled back + | f | shainking phase ‘= Nesthen ane lacks _cblained non “th Si the data © anget [then the locks _ane—nel bed pal Biucuaboat— v0 phase_locking —and_Comiit| T (phase —lockin lendted at locks. \be_tead at well ai then_an exclusive look ia. ited at _tock oy. staned oni lose. jalizable}id-can_betnant edule Auwappinig non + Tide = phase locking = ih applied - Dali_Cor| ‘Going pha eke Pha i maa jqcaiak thy — = Candinality —Conitsaist\ ——— cpinations sole tee i oe 1c Cardin Conftaairita_t = — Sec et wolvet eth Dahe dais land maximum —number9f-—ins rect — enti menal_ con_be_-amocidted with antl ae _Commor. fmbola include and—0402._opi em: the_concept ef physi ical_data_me thao. in aoe i = ee {how physical i (hack ac binnage stbuttioet and Tndeni cee ieee “Corea A-tiee index ona opt fnied ealobln accelenstar “seach fee | built ini natin [upddle an Overhead —dusing ims a ae —n_a._specific_eaident eee je A toni ng oY aed data To meduce Oe need fond ~ [Ey = Keeping —petompuled otal i ee yp pene oae ae 1 Stosage —Structienes = 1 ——— sega buffer_pool te —Ataoie_oe eile Pree interno fed © dink I/c erthe Aton ay aot ate “4 ficiency ieldbionships_o-me} fpgise da epaxdlest of Cae va | the_aysiem itt derenine d_and the [ he imblemested [Gate val ne a \2) 75 —pnavide a_| jical_xtaucton ) Positive impact bell - designed physical moadil cam ead ttl “impaoke ed_queny ‘penfonmmance—neduced _atonage needs enhanced —owenalt_syctem —Y efficiency -~ —Shiegiic tap = ash j—choien_iphysical Aine a —tunes Y may mesa in ine ——|red_attonage Oueaineed —Alouda quer | —perifoxn ean higher maintenance —oaadl |-to_mect--tbe- but |-nicafien_and Coll oration: [rem xecat Comme} (Daka_nequinemeid) Oo Z| Yon in Rat [al sbcliune [ah ae onl handing be forme =) ee [gineesta anchifecl® a | feta ela nips ard bey [idensifien.— [High-level » Tde¥ailed 5 Bian maa) Ana » ees ease ns ent and data recta .—arnaly sts and_deslgne Z| detailed Qables calm, datatype i LZoraioabat ss | psoredunes stay | -and_-ctn than ox « [@tdninakes = Agdnibutu define the poapendiog of entities and ae Yanna sae! wast patane vee Shein_nel poaivets | [ideified_woith fiver” hos_attnibila hip like “CurtimenTD” place_orden. fon { 10" and “Onden Dak | | __wwt Hom tables penal Alusit—each ether They establith amaciathors. »— | Dite” Taher oreo _tned_on_ column. or optimization « including dali >| ERO aid in dafabae design by viding o~ [Constr om ‘wswol--mepneenitatin of all alta rode a {ain — Dilabare_scherna—t “$he_aclial_dstbase sel [cnatien_f-—tabler_and —Ae 4. in a_selational database Crive od ae Landi significance —in—mainitoining [Explain the concept of efenential inte [example to_illuifdle hous —it-—is_enfanced. rat efesential —iapily = meal ades_cmn_anly beaded E tothe" Onde! i 1 el gag a sltinal dal trichenato® ta eee sine ties am $i Uadten taber_semnnlt—— Peasy the “ahs lp rt ii ondens_-fon non = ¢xistexit curtomen— ——foregn key, _whene_a—fosteign Ine —ip_ane_} at end a the pub er Gin esnathal 3 |Updafex? Tf a _curtomen's “Cuitimer 20 ia updatéd_in the ‘Customer’ table. the sponding’ Customer 10’ in_the “Ondeu' Podha alae. bevpdated.» “Tai _enuune—t Corsicted’ T+ “i, based_on the —concest_ef of —t table --Thit_amainitaine the Vite I selafiomshipsbetieen_tables_and eo! the | conn acectay and aid of ale, Fable ao Commistency in the nelationship~ i ) | neon —enfoncing — that _foned Delete : “ Cuvimmens 4 tp _eithen on (tobles_V eonnespand_* Tey inthe nefenenced tablet ——Yvalue, Tt énsunes > [and —nét nau nals pee erie et je Von indefinta es aati ot ee jab let [Define entity “hiteqnity iritne —contfext_of ieee Oachibel why Hh impsrin ce key columns} a table + V tne 1 Vvaluet_in ‘this Column [and —_bows_i++ia_enfonced nd_priovidi sJon_each 1d_and_cannch coer af nO Ua atan Sohn A ~——jaefos_to. the _assunance. that" each new Fane __| _6 Toho c | cReare_TAGLE te C Reg TD INT. PRIMARY_KEYs Name VARCHAR (50) NoT Nutt» Gnade CHAR LU , key! Conitiiaitsis_applied tp eh HES aan Cen Puma ueneis ae span = null valu. at — 2 tach SO Te affects the Fairic ia Le} the table ale |W [easel lie of fm on_necende i the y {x pes in defining | Bs oa ina - leach. |) The, re roe ite - ue_panmmantati-. "| mt” penmanedh t Pchengesaie_peamas [yy tale cam stall bock cut [eeanget—in tbe Det lrg clanipcd me jane ii [UPDATE Produced ___SET_Pnice_= 25— ANMERE Paieduck ¥ — Name1_Pace,)- CREATETAB CustomerID — ‘Name VARCHAR email VARCHAR —j3— ALTER TABLE —Customet ————— Ap COLUMN Phone VARCHAR-L20) VAL es Lol" Laptop’ s 1200) | REVOKE UL. PDATE_ON Produc ein Fe ana reaete cee onden_detuils ee [tele “topos By —F—Hiced cus toomen—secom mendotent —— Jnsnageneit_ nd_platona_ |Wlalmoxit = Walmaril»_on |________lange_ndfailens_._€2my |$0__manage__tnve. acnost_f- ef ahe_wwoald Dar —|nefianks_"of —atones J Thia__enabler_sieal= ime. socking? oP es a “ce ge hp od nat aoa TE placclment and iE Foeebook— : | ___ handle. used er ; 7 files, F_and_Connech rs fe [peed support efficient meh Land —sienage_of massive _amnounil ef Aoci | metwenk "data — —Blwasa [of —Acienti final en ie space miss efficient “2 | tk _cowe [Comman advaniliges jenmission — TRit enw Pai Lealaien = pains Carita atten Soll sof apecic dado —leasien ina oa making it fy —Apecif tc a “Tae -—manage—and maint ister 2) a ma aeolian epenaong th / | EPI Soper : —{-—tpziman, Fon and oni i [neal theca 9 ies — thy Bae eater he oo a simmu Faancoue ell sa ee “Cenfialization SS oe cf dati aceeg inn the Lee cise Proce Exblain how Hhibiies__and_clatiimships feted a Database schemas ‘Data —modeli ing ia Pa ae —desilgn —paocen at i+ involve |e }— an _abatnas ef nepaisentacin — othe infos alien —and nelattonahip— [ea ee vithin anon gamizach = _—and [Whe pmimany Goa ef. -dat. Sahar ad Pouimanyy goals ef data aneading — fata eee onaucteney em jens d__comeiastencys Te helpe _enten pnis¢ ~____— jithing {a ies es Hodbase ‘ond 1a blue pail ab 5) -E fice Bueiying —and Repeating =| onthe achual—d izhase Lmplenie Nation [DBMS _enqi res pli quent eta pe | Exton = Erb “ne pase seal wonld — ~eyficiet= Steve —2{_—datn. Trias! | Object om _comcept=_with in the af a oer the eafiapnian Be a —cusdernent_+ pred a 2 ae it ploy ann pet fan mance: £ 2 in dette anodel sit “ypically overall_agpte: —[nepnesemted as — neck Attnibsctes = Abia bute the pry is nui _of- enti Trey pape tealed efStmaren about Relachion s hips _I— — = Relastinaships— depict come ion, and —asociacHen oa ee ena at often With 4 tables . enter - (ot melatens. hips__ane__nepn a connecting enhte + ea | |-Apecif ying the — pio ate nt | Database Ache. Im__+the data —rnode) i — Tables = £ ach_entity |. comimespon ds¥_ tn a table in the i databasre schema Colummni_— A-+Hribufes ane thanalated ing : Column saithin the tables. 7 ; ints — Constmaint avd | Otel Ikey and fraiaa pat ane ve inthe schema oem mented ccunacy —“and_—_coniictency based aoe ane oe pnesented Hezanugh 1. Cons-tnatnt connec on thein melarinth—

You might also like