1外文资料原文DatabaseSystems1.IntroductiontoDatabaseSystemToday,morethanatanyprevioustime,thesuccessofanorganizationdependsonitsabilitytoacquireaccurateandtimelydataaboutitsoperation,tomanagethisdataeffectively,andtouseittoanalyzeandguideitsactivities.Phrasessuchastheinformationsuperhighwayhavebecomeubiquitous,andinformationprocessingisarapidlygrowingmultibilliondollarindustry.Theamountofinformationavailabletousisliterallyexploding,andthevalueofdataasanorganizationalassetisbeingwidelyrecognized.Thisparadoxdrivestheneedforincreasinglypowerfulandflexibledatamanagementsystems.Adatabaseisacollectionofdata,typicallydescribingtheactivitiesofoneormorerelatedorganizations.Forexample,auniversitydatabasemightcontaininformationaboutthefollowing.●Entitiessuchasstudents,faculty,courses,andclassrooms.●Relationshipsbetweenentities,suchasstudents’enrollmentincourses,facultyteachingcourses,andtheuseofroomsforcourses.Adatabasemanagementsystem,orDBMS,issoftwaredesignedtoassistinmaintainingandutilizinglargecollectionsofdata,andtheneedforsuchsystems,aswellastheiruse,isgrowingrapidly.ThealternativetousingaDBMSistouseadhocapproachesthatdonotcarryoverfromoneapplicationtoanother,forexample,tostorethedatainfilesandwriteapplication-specificcodetomanageit.Theareaofdatabasemanagementsystemsisamicrocosmofcomputerscienceingeneral.Theissuesaddressedandthetechniquesusedspanawidespectrum,includinglanguages,object-orientationandotherprogrammingparadigms,compilation,operatingsystems2concurrentprogramming,datastructures,algorithms,theory,parallelanddistributedsystems,userinterfaces,expertsystemsandartificialintelligence,statisticaltechniques,anddynamicprogramming.Databasemanagementcontinuestogainimportanceasmoreandmoredataisbroughton-line,andmadeevermoreaccessiblethroughcomputernetworking.Todaythefieldisbeingdrivenbyexcitingvisionssuchasmultimediadatabases,interactivevideo,digitallibraries,ahostofscientificprojectssuchasthehumangenomemappingeffortandNASA’sEarthObservationSystemproject,andthedesireofcompaniestoconsolidatetheirdecision-makingprocessesandminetheirdatarepositoriesforusefulinformationabouttheirbusiness.Commercially,databasemanagementsystemsrepresentoneofthelargestandmostvigorousmarketsegments.Thusthestudyofdatabasesystemscouldprovetoberichlyrewardinginmorewaysthanone.2.DatabaseconsistsAdatabaseconsistsofafileorasetoffiles.Theinformationinthesefilesmaybebrokendownintorecords,eachofwhichconsistsofoneormorefields.Fieldsarethebasicunitsofdatastorage,andeachfieldtypicallycontainsinformationpertainingtooneaspectorattributeoftheentitydescribedbythedatabase.Usingkeywordsandvarioussortingcommands,userscanrapidlysearch,rearrange,group,andselectthefieldsinmanyrecordstoretrieveorcreatereportsonparticularaggregatesofdata.Databaserecordsandfilesmustbeorganizedtoallowretrievaloftheinformation.Earlysystemswerearrangedsequentially(i.e.,alphabetically,numerically,orchronologically);thedevelopmentofdirect-accessstoragedevicesmadepossiblerandomaccesstodataviaindexes.Queriesarethemainwayusersretrievedatabaseinformation.Typically,theuserprovidesastringofcharacters,andthecomputer3searchesthedatabaseforacorrespondingsequenceandprovidesthesourcematerialsinwhichthosecharactersappear.Ausercanrequest,forexample,allrecordsinwhichthecontentofthefieldforaperson’slastnameisthewordSmith.Inflatdatabases,recordsareorganizedaccordingtoasimplelistofentities;manysimpledatabasesforpersonalcomputersareflatinstructure.Therecordsinhierarchicaldatabasesareorganizedinatreelikestructure,witheachlevelofrecordsbranchingoffintoasetofsmallercategories.Unlikehierarchicaldatabases,whichprovidesinglelinksbetweensetsofrecordsatdifferentlevels,networkdatabasescreatemultiplelinkagesbetweensetsbyplacinglinks,orpointers,toonesetofrecordsinanother;thespeedandversatilityofnetworkdatabaseshaveledtotheirwideuseinbusiness.Relationaldatabasesareusedwhereassociationsamongfilesorrecordscannotbeexpressedbylinks;asimpleflatlistbecomesonetable,or“relation”,andmultiplerelationscanbemathematicallyassociatedtoyielddesiredinformation.Object-orienteddatabasesstoreandmanipulatemorecomplexdatastructures,called“objects”,whichareorganizedintohierarchicalclassesthatmayinheritpropertiesfromclasseshigherinthechain;thisdatabasestructureisthemostflexibleandadaptable.3.StructureoftheRelationaldatabaseTherelationalmodelisthebasisforanyrelationaldatabasemanagementsystem(RDBMS).Arelationalmodelhasthreecorecomponents:acollectionofobjectsorrelations,operatorsthatactontheobjectsorrelations,anddataintegritymethods.Inotherwords,ithasaplacetostorethedata,awaytocreateandretrievethedata,andawaytomakesurethatthedataislogicallyconsistent.Arelationaldatabaseusesrelations,ortwo-dimensionaltables,tostoretheinformationneededtosupportabusiness.43.1.Tables,Row,andColumnsAtableinarelationaldatabase,alternativelyknownasarelation,isatwo-dimensionalstructureusedtoholdrelatedinformation.Adatabaseconsistsofoneormorerelatedtables.Note:Don'tconfusearelationwithrelationships.Arelationisessentiallyatable,andarelationshipisawaytocorrelate,join,oras