DB2102.ppt

154
DB2 UDB FOR Z/OS Overview

Transcript of DB2102.ppt

DB2 UDB FOR Z/OSOverviewDATABASE CONCEPTSObjective of Session 1 What is a Database ?. Why we need to se Database ?. Database !ana"e#ent Syste# Conce$t Di%e&ence between 'i(e vs DB!S DB!S 'nction Database !ode( )DB!S Conce$ts What is a database ? Data consists of facts and *nfoation abot $eo$(e+ objects+ events o& any othe& ite#s. A database is a too( fo& sto&in" and o&"anisin" infoation ,data-E.a#$(e fo& Database/ )etai( *ns&ance Ban0in" 'inancia(DATABASESto&in" DataO&"ani1in" Data!ana"in" DataWhy we need to sedatabase? Sto&in" (a&"e a#onts of infoation 'indin" and dis$(ayin" data 2ic0(y Data can be $dated and chan"ed easi(y Data avai(ab(e in di%e&ent (ocations Data can be t&ansfe&&ed easi(y S##a&ies of data easi(y avai(ab(e. Data can be easi(y so&ted+ in di%e&ent waysWhe&e does Database "et sto&ed ?.FILES Whe&e does Database "et sto&ed ?.O$e&atin" Syste#Database Softwa&eDatabase'i(esCP3!e#o&y4a&d Dis0'i(es 'i(esWhat is DB!S ?.Overview DB!S Data/ 0nown facts that can be &eco&ded and that have i#$(icit #eanin". Database/ Co((ection of &e(ated data Database !ana"e#ent Syste#/ A co#$te&i1ed &eco&d50ee$in" syste#.What *s a DB!S?A ve&y (a&"e+ inte"&ated co((ection of data.6 !ode(s &ea(5wo&(d ente&$&ise.6 Entities ,e.".+ stdents+ co&ses-6 A Database !ana"e#ent Syste# ,DB!S- is a softwa&e $ac0a"e desi"ned to sto&e and #ana"e databases. A$$(ication #st sta"e (a&"e datasets between #ain #e#o&y and seconda&y sto&a"e ,e.".+ b%e&in"+ $a"e5o&iented access+ 785bitadd&essin"+ etc.- S$ecia( code fo& di%e&ent 2e&ies !st $&otect data f&o# inconsistency de to#(ti$(e conc&&entse&s C&ash &ecove&y Sec&ity and access cont&o( 'i(es vs. DB!S Data inde$endence and e9cient access. )edced a$$(ication deve(o$#ent ti#e. Data inte"&ity and sec&ity. 3nifo data ad#inist&ation. Conc&&ent access+ &ecove&y f&o# c&ashes.Why se a DB!S ?.DB!S 'nctions Data De:nition Data !ani$(ation Data Sec&ity and *nte"&ity Data )ecove&y and Conc&&ency Pe&foanceDatabase Models'i(e !ana"e#ent syste#4ie&a&chica( !ana"e#ent syste# Co#$(e. )et&ieva( )oot ; Pa&ent ;SbPa&ent and Chi(d )e(ationshi$Netwo&0 !ana"e#ent syste# Co#$(e. )et&ieva( !any ; !any )e(ationshi$)e(ationa( database !ana"e#ent syste# Hierarchical Manae!ent s"ste!C o m p a n y D a t a b a s eE S 0 0 1 E S 0 0 2D e p a r t m e n t S a l e sE P 0 0 1 E P 0 0 2D e p a r t m e n t P u r c h a s eE F 0 0 1 E F 0 0 2D e p a r t m e n t F i n a n c eC o m p a n y)e(ation Database !ana"e#ent Syste# ,)DB!S-ACCO3NTPAER ? B"tes 1hole n&!ber rane2 325