版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1.Databasemanagementsystem
1.Databasemanagementsystem
ADatabaseManagementSystem(DBMS)isasetofcomputerprogramsthatcontrolsthecreation,maintenance,andtheuseofadatabase.Itallowsorganizationstoplacecontrolofdatabasedevelopmentinthehandsofdatabaseadministrators(DBAs)andotherspecialists.ADBMSisasystemsoftwarepackagethathelpstheuseofintegratedcollectionofdatarecordsandfilesknownasdatabases.Itallowsdifferentuserapplicationprogramstoeasilyaccessthesamedatabase.DBMSsmayuseanyofavarietyofdatabasemodels,suchasthenetworkmodelorrelationalmodel.Inlargesystems,aDBMSallowsusersandothersoftwaretostoreandretrievedatainastructuredway.Insteadofhavingtowritecomputerprogramstoextractinformation,usercanasksimplequestionsinaquerylanguage.Thus,manyDBMSpackagesprovideFourth-generationprogramminglanguage(4GLs)andotherapplicationdevelopmentfeatures.Ithelpstospecifythelogicalorganizationforadatabaseandaccessandusetheinformationwithinadatabase.Itprovidesfacilitiesforcontrollingdataaccess,enforcingdataintegrity,managingconcurrency,andrestoringthedatabasefrombackups.ADBMSalsoprovidestheabilitytologicallypresentdatabaseinformationtousers.
2.Overview
ADBMSisasetofsoftwareprogramsthatcontrolstheorganization,storage,management,andretrievalofdatainadatabase.DBMSsarecategorizedaccordingtotheirdatastructuresortypes.TheDBMSacceptsrequestsfordatafromanapplicationprogramandinstructstheoperatingsystemtotransfertheappropriatedata.Thequeriesandresponsesmustbesubmittedandreceivedaccordingtoaformatthatconformstooneormoreapplicableprotocols.WhenaDBMSisused,informationsystemscanbechangedmuchmoreeasilyastheorganization'sinformationrequirementschange.Newcategoriesofdatacanbeaddedtothedatabasewithoutdisruptiontotheexistingsystem.
DatabaseserversarecomputersthatholdtheactualdatabasesandrunonlytheDBMSandrelatedsoftware.Databaseserversareusuallymultiprocessorcomputers,withgenerousmemoryandRAIDdiskarraysusedforstablestorage.Hardwaredatabaseaccelerators,connectedtooneormoreserversviaahigh-speedchannel,arealsousedinlargevolumetransactionprocessingenvironments.DBMSsarefoundattheheartofmostdatabaseapplications.DBMSsmaybebuiltaroundacustommultitaskingkernelwithbuilt-innetworkingsupport,butmodernDBMSstypicallyrelyonastandardoperatingsystemtoprovidethesefunctions.
3.History
Databaseshavebeeninusesincetheearliestdaysofelectroniccomputing.Unlikemodernsystemswhichcanbeappliedtowidelydifferentdatabasesandneeds,thevastmajorityofoldersystemsweretightlylinkedtothecustomdatabasesinordertogainspeedattheexpenseofflexibility.OriginallyDBMSswerefoundonlyinlargeorganizationswiththecomputerhardwareneededtosupportlargedatasets.
3.11960sNavigationalDBMS
Ascomputersgrewinspeedandcapability,anumberofgeneral-purposedatabasesystemsemerged;bythemid-1960stherewereanumberofsuchsystemsincommercialuse.Interestinastandardbegantogrow,andCharlesBachman,authorofonesuchproduct,IntegratedDataStore(IDS),foundedthe"DatabaseTaskGroup"withinCODASYL,thegroupresponsibleforthecreationandstandardizationofCOBOL.In1971theydeliveredtheirstandard,whichgenerallybecameknownasthe"Codasylapproach",andsoontherewereanumberofcommercialproductsbasedonitavailable.
TheCodasylapproachwasbasedonthe"manual"navigationofalinkeddatasetwhichwasformedintoalargenetwork.Whenthedatabasewasfirstopened,theprogramwashandedbackalinktothefirstrecordinthedatabase,whichalsocontainedpointerstootherpiecesofdata.Tofindanyparticularrecordtheprogrammerhadtostepthroughthesepointersoneatatimeuntiltherequiredrecordwasreturned.Simplequerieslike"findallthepeopleinIndia"requiredtheprogramtowalktheentiredatasetandcollectthematchingresults.Therewas,essentially,noconceptof"find"or"search".Thismightsoundlikeaseriouslimitationtoday,butinanerawhenthedatawasmostoftenstoredonmagnetictapesuchoperationsweretooexpensivetocontemplateanyway.
IBMalsohadtheirownDBMSsystemin1968,knownasIMS.IMSwasadevelopmentofsoftwarewrittenfortheApolloprogramontheSystem/360.IMSwasgenerallysimilarinconcepttoCodasyl,butusedastricthierarchyforitsmodelofdatanavigationinsteadofCodasyl'snetworkmodel.Bothconceptslaterbecameknownasnavigationaldatabasesduetothewaydatawasaccessed,andBachman's1973TuringAwardawardpresentationwasTheProgrammerasNavigator.IMSisclassifiedasahierarchicaldatabase.IMSandIDMS,bothCODASYLdatabases,aswellasCINCOMsTOTALdatabaseareclassifiedasnetworkdatabases.
3.21970sRelationalDBMS
EdgarCoddworkedatIBMinSanJose,California,inoneoftheiroffshootofficesthatwasprimarilyinvolvedinthedevelopmentofharddisksystems.HewasunhappywiththenavigationalmodeloftheCodasylapproach,notablythelackofa"search"facilitywhichwasbecomingincreasinglyuseful.In1970,hewroteanumberofpapersthatoutlinedanewapproachtodatabaseconstructionthateventuallyculminatedinthegroundbreakingARelationalModelofDataforLargeSharedDataBanks.[1]
Inthispaper,hedescribedanewsystemforstoringandworkingwithlargedatabases.Insteadofrecordsbeingstoredinsomesortoflinkedlistoffree-formrecordsasinCodasyl,Codd'sideawastousea"table"offixed-lengthrecords.Alinked-listsystemwouldbeveryinefficientwhenstoring"sparse"databaseswheresomeofthedataforanyonerecordcouldbeleftempty.Therelationalmodelsolvedthisbysplittingthedataintoaseriesofnormalizedtables,withoptionalelementsbeingmovedoutofthemaintabletowheretheywouldtakeuproomonlyifneeded.
Forinstance,acommonuseofadatabasesystemistotrackinformationaboutusers,theirname,logininformation,variousaddressesandphonenumbers.Inthenavigationalapproachallofthesedatawouldbeplacedinasinglerecord,andunuseditemswouldsimplynotbeplacedinthedatabase.Intherelationalapproach,thedatawouldbenormalizedintoausertable,anaddresstableandaphonenumbertable(forinstance).Recordswouldbecreatedintheseoptionaltablesonlyiftheaddressorphonenumberswereactuallyprovided.
Linkingtheinformationbacktogetheristhekeytothissystem.Intherelationalmodel,somebitofinformationwasusedasa"key",uniquelydefiningaparticularrecord.Wheninformationwasbeingcollectedaboutauser,informationstoredintheoptional(orrelated)tableswouldbefoundbysearchingforthiskey.Forinstance,iftheloginnameofauserisunique,addressesandphonenumbersforthatuserwouldberecordedwiththeloginnameasitskey.This"re-linking"ofrelateddatabackintoasinglecollectionissomethingthattraditionalcomputerlanguagesarenotdesignedfor.
Justasthenavigationalapproachwouldrequireprogramstoloopinordertocollectrecords,therelationalapproachwouldrequireloopstocollectinformationaboutanyonerecord.Codd'ssolutiontothenecessaryloopingwasaset-orientedlanguage,asuggestionthatwouldlaterspawntheubiquitousSQL.Usingabranchofmathematicsknownastuplecalculus,hedemonstratedthatsuchasystemcouldsupportalltheoperationsofnormaldatabases(inserting,updatingetc.)aswellasprovidingasimplesystemforfindingandreturningsetsofdatainasingleoperation.
Codd'spaperwaspickedupbytwopeopleattheBerkeley,EugeneWongandMichaelStonebraker.TheystartedaprojectknownasINGRESusingfundingthathadalreadybeenallocatedforageographicaldatabaseproject,usingstudentprogrammerstoproducecode.Beginningin1973,INGRESdelivereditsfirsttestproductswhichweregenerallyreadyforwidespreadusein1979.Duringthistime,anumberofpeoplehadmoved"through"thegroup—perhapsasmanyas30peopleworkedontheproject,aboutfiveatatime.INGRESwassimilartoSystemRinanumberofways,includingtheuseofa"language"fordataaccess,knownasQUEL—QUELwasinfactrelational,havingbeenbasedonCodd'sownAlphalanguage,buthassincebeencorruptedtofollowSQL,thusviolatingmuchthesameconceptsoftherelationalmodelasSQLitself.
IBMitselfdidonetestimplementationoftherelationalmodel,PRTV,andaproductionone,BusinessSystem12,bothnowdiscontinued.HoneywelldidMRDSforMultics,andnowtherearetwonewimplementations:AlphoraDataphorandRel.AllotherDBMSimplementationsusuallycalledrelationalareactuallySQLDBMSs.In1968,theUniversityofMichiganbegandevelopmentoftheMicroDBMSrelationaldatabasemanagementsystem.ItwasusedtomanageverylargedatasetsbytheUSDepartmentofLabor,theEnvironmentalProtectionAgencyandresearchersfromUniversityofAlberta,theUniversityofMichiganandWayneStateUniversity.ItranonmainframecomputersusingMichiganTerminalSystem.Thesystemremainedinproductionuntil1996.
3.3End1970sSQLDBMS
IBMstartedworkingonaprototypesystemlooselybasedonCodd'sconceptsasSystemRintheearly1970s.Thefirstversionwasreadyin1974/5,andworkthenstartedonmulti-tablesystemsinwhichthedatacouldbesplitsothatallofthedataforarecord(muchofwhichisoftenoptional)didnothavetobestoredinasinglelarge"chunk".Subsequentmulti-userversionsweretestedbycustomersin1978and1979,bywhichtimeastandardizedquerylanguage,SQL,hadbeenadded.Codd'sideaswereestablishingthemselvesasbothworkableandsuperiortoCodasyl,pushingIBMtodevelopatrueproductionversionofSystemR,knownasSQL/DS,and,later,Database2(DB2).
ManyofthepeopleinvolvedwithINGRESbecameconvincedofthefuturecommercialsuccessofsuchsystems,andformedtheirowncompaniestocommercializetheworkbutwithanSQLinterface.Sybase,Informix,NonStopSQLandeventuallyIngresitselfwereallbeingsoldasoffshootstotheoriginalINGRESproductinthe1980s.EvenMicrosoftSQLServerisactuallyare-builtversionofSybase,andthus,INGRES.OnlyLarryEllison'sOraclestartedfromadifferentchain,basedonIBM'spapersonSystemR,andbeatIBMtomarketwhenthefirstversionwasreleasedin1978.
StonebrakerwentontoapplythelessonsfromINGREStodevelopanewdatabase,Postgres,whichisnowknownasPostgreSQL.PostgreSQLisoftenusedforglobalmissioncriticalapplications(domainnameregistriesuseitastheirprimarydatastore,asdomanylargecompaniesandfinancialinstitutions).
InSweden,Codd'spaperwasalsoreadandMimerSQLwasdevelopedfromthemid-70satUppsalaUniversity.In1984,thisprojectwasconsolidatedintoanindependententerprise.Intheearly1980s,Mimerintroducedtransactionhandlingforhighrobustnessinapplications,anideathatwassubsequentlyimplementedonmostotherDBMS.
3.41980sObjectOrientedDatabases
The1980s,alongwithariseinobjectorientedprogramming,sawagrowthinhowdatainvariousdatabaseswerehandled.Programmersanddesignersbegantotreatthedataintheirdatabasesasobjects.Thatistosaythatifaperson'sdatawereinadatabase,thatperson'sattributes,suchastheiraddress,phonenumber,andage,werenowconsideredtobelongtothatpersoninsteadofbeingextraneousdata.Thisallowsforrelationshipsbetweendatatoberelationtoobjectsandtheirattributesandnottoindividualfields.
Anotherbiggamechangerfordatabasesinthe1980swasthefocusonincreasingreliabilityandaccessspeeds.In1989,twoprofessorsfromtheUniversityofMichiganatMadison,publishedanarticleatanACMassociatedconferenceoutliningtheirmethodsonincreasingdatabaseperformance.Theideawastoreplicatespecificimportant,andoftenqueriedinformation,andstoreitinasmallertemporarydatabasethatlinkedthesekeyfeaturesbacktothemaindatabase.Thismeantthataquerycouldsearchthesmallerdatabasemuchquicker,ratherthansearchtheentiredataset.Thiseventuallyleadstothepracticeofindexing,whichisusedbyalmosteveryoperatingsystemfromWindowstothesystemthatoperatesAppleiPoddevices.
4.DBMSbuildingblocks
ADBMSincludesfourmainparts:modelinglanguage,datastructure,databasequerylanguage,andtransactionmechanisms:
4.1ComponentsofDBMS
DBMSEngineacceptslogicalrequestfromthevariousotherDBMSsubsystems,convertsthemintophysicalequivalents,andactuallyaccessesthedatabaseanddatadictionaryastheyexistonastoragedevice.
DataDefinitionSubsystemhelpsusertocreateandmaintainthedatadictionaryanddefinethestructureofthefilesinadatabase.
DataManipulationSubsystemhelpsusertoadd,change,anddeleteinformationinadatabaseandqueryitforvaluableinformation.Softwaretoolswithinthedatamanipulationsubsystemaremostoftentheprimaryinterfacebetweenuserandtheinformationcontainedinadatabase.Itallowsusertospecifyitslogicalinformationrequirements.
ApplicationGenerationSubsystemcontainsfacilitiestohelpuserstodeveloptransaction-intensiveapplications.Itusuallyrequiresthatuserperformadetailedseriesoftaskstoprocessatransaction.Itfacilitateseasy-to-usedataentryscreens,programminglanguages,andinterfaces.
DataAdministrationSubsystemhelpsuserstomanagetheoveralldatabaseenvironmentbyprovidingfacilitiesforbackupandrecovery,securitymanagement,queryoptimization,concurrencycontrol,andchangemanagement.
4.2Modelinglanguage
AdatamodelinglanguagetodefinetheschemaofeachdatabasehostedintheDBMS,accordingtotheDBMSdatabasemodel.Thefourmostcommontypesofmodelsarethe:
? hierarchicalmodel,
? networkmodel,
? relationalmodel,and
? objectmodel.
Invertedlistsandothermethodsarealsoused.Agivendatabasemanagementsystemmayprovideoneormoreofthefourmodels.Theoptimalstructuredependsonthenaturalorganizationoftheapplication'sdata,andontheapplication'srequirements(whichincludetransactionrate(speed),reliability,maintainability,scalability,andcost).
ThedominantmodelinusetodayistheadhoconeembeddedinSQL,despitetheobjectionsofpuristswhobelievethismodelisacorruptionoftherelationalmodel,sinceitviolatesseveralofitsfundamentalprinciplesforthesakeofpracticalityandperformance.ManyDBMSsalsosupporttheOpenDatabaseConnectivityAPIthatsupportsastandardwayforprogrammerstoaccesstheDBMS.
Beforethedatabasemanagementapproach,organizationsreliedonfileprocessingsystemstoorganize,store,andprocessdatafiles.Endusersbecameaggravatedwithfileprocessingbecausedataisstoredinmanydifferentfilesandeachorganizedinadifferentway.Eachfilewasspecializedtobeusedwithaspecificapplication.Needlesstosay,fileprocessingwasbulky,costlyandnonflexiblewhenitcametosupplyingneededdataaccuratelyandpromptly.Dataredundancyisanissuewiththefileprocessingsystembecausetheindependentdatafilesproduceduplicatedatasowhenupdateswereneededeachseparatefilewouldneedtobeupdated.Anotherissueisthelackofdataintegration.Thedataisdependentonotherdatatoorganizeandstoreit.Lastly,therewasnotanyconsistencyorstandardizationofthedatainafileprocessingsystemwhichmakesmaintenancedifficult.Forallthesereasons,thedatabasemanagementapproachwasproduced.Databasemanagementsystems(DBMS)aredesignedtouseoneoffivedatabasestructurestoprovidesimplisticaccesstoinformationstoredindatabases.Thefivedatabasestructuresarehierarchical,network,relational,multidimensionalandobject-orientedmodels.
ThehierarchicalstructurewasusedinearlymainframeDBMS.Records’relationshipsformatreelikemodel.Thisstructureissimplebutnonflexiblebecausetherelationshipisconfinedtoaone-to-manyrelationship.IBM’sIMSsystemandtheRDMMobileareexamplesofahierarchicaldatabasesystemwithmultiplehierarchiesoverthesamedata.RDMMobileisanewlydesignedembeddeddatabaseforamobilecomputersystem.Thehierarchicalstructureisusedprimarytodayforstoringgeographicinformationandfilesystems.
Thenetworkstructureconsistsofmorecomplexrelationships.Unlikethehierarchicalstructure,itcanrelatetomanyrecordsandaccessesthembyfollowingoneofseveralpaths.Inotherwords,thisstructureallowsformany-to-manyrelationships.
Therelationalstructureisthemostcommonlyusedtoday.Itisusedbymainframe,midrangeandmicrocomputersystems.Itusestwo-dimensionalrowsandcolumnstostoredata.Thetablesofrecordscanbeconnectedbycommonkeyvalues.WhileworkingforIBM,E.F.Codddesignedthisstructurein1970.Themodelisnoteasyfortheendusertorunquerieswithbecauseitmayrequireacomplexcombinationofmanytables.
Themultidimensionalstructureissimilartotherelationalmodel.Thedimensionsofthecubelookingmodelhavedatarelatingtoelementsineachcell.Thisstructuregivesaspreadsheetlikeviewofdata.Thisstructureiseasytomaintainbecauserecordsarestoredasfundamentalattributes,thesamewaythey’reviewedandthestructureiseasytounderstand.Itshighperformancehasmadeitthemostpopulardatabasestructurewhenitcomestoenablingonlineanalyticalprocessing(OLAP).
Theobjectorientedstructurehastheabilitytohandlegraphics,pictures,voiceandtext,typesofdata,withoutdifficultlyunliketheotherdatabasestructures.ThisstructureispopularformultimediaWeb-basedapplications.Itwasdesignedtoworkwithobject-orientedprogramminglanguagessuchasJava.
4.3Datastructure
Datastructures(fields,records,filesandobjects)optimizedtodealwithverylargeamountsofdatastoredonapermanentdatastoragedevice(whichimpliesrelativelyslowaccesscomparedtovolatilemainmemory).
4.4Databasequerylanguage
Adatabasequerylanguageandreportwriterallowsuserstointeractivelyinterrogatethedatabase,analyzeitsdataandupdateitaccordingtotheusersprivilegesondata.Italsocontrolsthesecurityofthedatabase.Datasecuritypreventsunauthorizedusersfromviewingorupdatingthedatabase.Usingpasswords,usersareallowedaccesstotheentiredatabaseorsubsetsofitcalledsubschemas.Forexample,anemployeedatabasecancontainallthedataaboutanindividualemployee,butonegroupofusersmaybeauthorizedtoviewonlypayrolldata,whileothersareallowedaccesstoonlyworkhistoryandmedicaldata.
IftheDBMSprovidesawaytointeractivelyenterandupdatethedatabase,aswellasinterrogateit,thiscapabilityallowsformanagingpersonaldatabases.However,itmaynotleaveanaudittrailofactionsorprovidethekindsofcontrolsnecessaryinamulti-userorganization.Thesecontrolsareonlyavailablewhenasetofapplicationprogramsarecustomizedforeachdataentryandupdatingfunction.
4.5Transactionmechanism
AdatabasetransactionmechanismideallyguaranteesACIDpropertiesinordertoensuredataintegritydespiteconcurrentuseraccesses(concurrencycontrol),andfaults(faulttolerance).Italsomaintainstheintegrityofthedatainthedatabase.TheDBMScanmaintaintheintegrityofthedatabasebynotallowingmorethanoneusertoupdatethesamerecordatthesametime.TheDBMScanhelppreventduplicaterecordsviauniqueindexconstraints;forexample,notwocustomerswiththesamecustomernumbers(keyfields)canbeenteredintothedatabase.SeeACIDpropertiesformoreinformation(Redundancyavoidance).
5.DBMStopics
5.1External,LogicalandInternalview
Adatabasemanagementsystemprovidestheabilityformanydifferentuserstosharedataandprocessresources.Butastherecanbemanydifferentusers,therearemanydifferentdatabaseneeds.Thequestionnowis:Howcanasingle,unifieddatabasemeetthedifferingrequirementofsomanyusers?
ADBMSminimizestheseproblemsbyprovidingtwoviewsofthedatabasedata:anexternalview(orUserview),logicalview(orconceptualview)andphysical(orinternal)view.Theuser’sview,ofadatabaseprogramrepresentsdatainaformatthatismeaningfultoauserandtothesoftwareprogramsthatprocessthosedata.Thatis,thelogicalviewtellstheuser,inuserterms,whatisinthedatabase.Thephysicalviewdealswiththeactual,physicalarrangementandlocationofdatainthedirectaccessstoragedevices(DASDs).Databasespecialistsusethephysicalviewtomakeefficientuseofstorageandprocessingresources.Withthelogicalviewuserscanseedatadifferentlyfromhowtheyarestored,andtheydonotwanttoknowallthetechnicaldetailsofphysicalstorage.Afterall,abusinessuserisprimarilyinterestedinusingtheinformation,notinhowitisstored.
OnestrengthofaDBMSisthatwhilethereistypicallyonlyoneconceptual(orlogical)andphysical(orInternal)viewofthedata,therecanbeanendlessnumberofdifferentExternalviews.Thisfeatureallowsuserstoseedatabaseinformationinamorebusiness-relatedwayratherthanfromatechnical,processingviewpoint.Thusthelogicalviewreferstothewayuserviewsdata,andthephysicalviewtothewaythedataarephysicallystoredandprocessed...
5.2DBMSfeaturesandcapabilities
Alternatively,andespeciallyinconnectionwiththerelationalmodelofdatabasemanagement,therelationbetweenattributesdrawnfromaspecifiedsetofdomainscanbeseenasbeingprimary.Forinstance,thedatabasemightindicatethatacarthatwasoriginally"red"mightfadeto"pink"intime,provideditwasofsomeparticular"make"withaninferiorpaintjob.Suchhigherarityrelationshipsprovideinformationonalloftheunderlyingdomainsatthesametime,withnoneofthembeingprivilegedabovetheothers.
5.3DBMSsimpledefinition
Databasemanagementsystemisthesysteminwhichrelateddataisstoredinan"efficient"and"compact"manner.EfficientmeansthatthedatawhichisstoredintheDBMSisaccessedinveryquicktimeandcompactmeansthatthedatawhichisstoredinDBMScoversverylessspaceincomputer'smemory.Inabovedefinitionthephrase"relateddata"isusedwhichmeansthatthedatawhichisstoredinDBMSisaboutsomeparticulartopic.
Throughoutrecenthistoryspecializeddatabaseshaveexistedforscientific,geospatial,imaging,documentstorageandlikeuses.FunctionalitydrawnfromsuchapplicationshaslatelybegunappearinginmainstreamDBMSsaswell.However,themainfocusthere,atleastwhenaimedatthecommercialdataprocessingmarket,isstillondescriptiveattributesonrepetitiverecordstructures.
Thus,theDBMSsoftodayrolltogetherfrequentlyneededservicesorfeaturesofattributemanagement.ByexternalizingsuchfunctionalitytotheDBMS,applicationseffectivelysharecodewitheachotherandarerelievedofmuchinternalcomplexity.Featurescommonlyofferedbydatabasemanagementsystemsinclude:
5.3.1Queryability
Queryingistheprocessofrequestingattributeinformationfromvariousperspectivesandcombinationsoffactors.Example:"Howmany2-doorcarsinTexasaregreen?"Adatabasequerylanguageandreportwriterallowuserstointeractivelyinterrogatethedatabase,analyzeitsdataandupdateitaccordingtotheusersprivilegesondata.
5.3.2Backupandreplication
Copiesofattributesneedtobemaderegularlyincaseprimarydisksorotherequipmentfails.Aperiodiccopyofattributesmayalsobecreatedforadistantorganizationthatcannotreadilyaccesstheoriginal.DBMSusuallyprovideutilitiestofacilitatetheprocessofextractinganddisseminatingattributesets.Whendataisreplicatedbetweendatabaseservers,sothattheinformationremainsconsistentthroughoutthedatabasesystemanduserscannottellorevenknowwhichserverintheDBMStheyareusing,thesystemissaidtoexhibitreplicationtransparency.
5.3.2Ruleenforcement
Oftenonewantstoapplyrulestoattributessothattheattributesarecleanandreliable.Forexample,wemayhavearulethatsayseachcarcanhaveonlyoneengineassociatedwithit(identifiedbyEngineNumber).Ifsomebodytriestoassociateasecondenginewithagivencar,wewanttheDBMStodenysucharequestanddisplayanerrormessage.However,withchangesinthemodelspecificationsuchas,inthisexample,hybridgas-electriccars,rulesmayneedtochange.Ideallysuchrulesshouldbeabletobeaddedandremovedasneededwithoutsignificantdatalayoutredesign.
5.3.4Security
Oftenitisdesirabletolimitwhocanseeorchangewhichattributesorgroupsofattributes.Thismaybemanageddirectlybyindividual,orbytheassignmentofindividualsandprivilegestogroups,or(inthemostelaboratemodels)throughtheassignmentofindividualsandgroupstoroleswhicharethengrantedentitlements.
5.3.5Computation
Therearecommoncomputationsrequestedonattributessuchascounting,summing,averaging,sorting,grouping,cross-referencing,etc.Ratherthanhaveeachcomputerapplicationimplementthesefromscratch,theycanrelyontheDBMStosupplysuchcalculations.
5.3.6Changeandaccesslogging
Oftenonewantstoknowwhoaccessedwhatattributes,whatwaschanged,andwhenitwaschanged.Loggingservicesallowthisbykeepingarecordofaccessoccurrencesandchanges.
5.3.7Automatedoptimization
Iftherearefrequentlyoccurringusagepatternsorrequests,someDBMScanadjustthemselvestoimprovethespeedofthoseinteractions.InsomecasestheDBMSwillmerelyprovidetoolstomonitorperformance,allowingahumanexperttomakethenecessaryadjustmentsafterreviewingthestatisticscollected
5.4Meta-datarepository
Metadataisdatadescribingdata.Forexample,alistingthatdescribeswhatattributesareallowedtobeindatasetsiscalled"meta-information".Themeta-dataisalsoknownasdataaboutdata.
5.5Currenttrends
In1998,databasemanagementwasinneedofnewstyledatabasestosolvecurrentd
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026年地下水資源評(píng)估與管理
- 2026年不同類型地質(zhì)災(zāi)變的機(jī)理研究
- 2025年西藏第四批事業(yè)編考試及答案
- 2025年事業(yè)單位考試兩輪面試及答案
- 2025年紹興市遴選筆試題目及答案
- 2025年涪陵華峰筆試答案
- 2025年規(guī)劃工作筆試題及答案
- 2025年國(guó)際高中部應(yīng)聘英語(yǔ)筆試及答案
- 2025年日語(yǔ)教育修士無(wú)筆試及答案
- 2025年煤礦井下招聘筆試試題及答案
- 滾珠絲杠設(shè)計(jì)計(jì)算
- 2025-2026學(xué)年人教版(2024)七年級(jí)地理第一學(xué)期第一章 地球 單元測(cè)試(含答案)
- 車間績(jī)效獎(jiǎng)管理辦法
- 貴州鋁基新材有限公司25萬(wàn)噸銅鎂鋁鋁基電子電池新材料建設(shè)項(xiàng)目環(huán)評(píng)報(bào)告
- 角膜熒光素染色檢查課件
- 戶外領(lǐng)隊(duì)培訓(xùn)知識(shí)課件
- 辦公室安全基礎(chǔ)知識(shí)培訓(xùn)課件
- 公路工程工地試驗(yàn)室管理辦法
- 護(hù)理差錯(cuò)事故報(bào)告制度
- 2025至2030中國(guó)高級(jí)計(jì)劃和排程(APS)軟件行業(yè)項(xiàng)目調(diào)研及市場(chǎng)前景預(yù)測(cè)評(píng)估報(bào)告
- 2025年河北中考地理真題含答案
評(píng)論
0/150
提交評(píng)論