数据库系统英文文献

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1DatabaseSystems1.FundamentalConceptsofDatabaseDatabaseanddatabasetechnologyarehavingamajorimpactonthegrowinguseofcomputers.Itisfairtosaythatdatabasewillplayacriticalroleinalmostallareaswherecomputersareused,includingbusiness,engineering,medicine,law,education,andlibraryscience,tonameafew.Theworddatabaseisinsuchcommonusethatwemustbeginbydefiningwhatadatabaseis.Ourinitialdefinitionisquitgeneral.Adatabaseisacollectionofrelateddata.Bydata,wemeanknownfactsthatcanberecordedandthathaveimplicitmeaning.Forexample,considerthenames,telephonenumbers,andaddressesofallthepeopleyouknow.Youmayhaverecordedthisdatainanindexedaddressbook,oryoumayhavestoreditonadisketteusingapersonalcomputerandsoftwaresuchasDBASEIIIorLotus1-2-3.Thisisacollectionofrelateddatawithanimplicitmeaningandhenceisadatabase.Theabovedefinitionofdatabaseisquitegeneral;forexample,wemayconsiderthecollectionofwordsthatmakeupthispageoftexttoberelateddataandhenceadatabase.However,thecommonuseofthetermdatabaseisusuallymorerestricted.Adatabasehasthefollowingimplicitproperties:.Adatabaseisalogicallycoherentcollectionofdatawithsomeinherentmeaning.Arandomassortmentofdatacannotbereferredtoasadatabase..Adatabaseisdesigned,built,andpopulatedwithdataforaspecificpurpose.Ithasanintendedgroupofusersandsomepreconceivedapplicationsinwhichtheseusersareinterested..Adatabaserepresentssomeaspectoftherealworld,sometimescalledtheminiworld.Changestotheminiworldarereflectedinthedatabase.Inotherwords,adatabasehassomesourcefromwhichdataarederived,somedegreeofinteractionwitheventsintherealworld,andanaudiencethatisactivelyinterestedinthecontentsofthedatabase.Adatabasecanbeofanysizeandofvaryingcomplexity.Forexample,thelistofnamesandaddressesreferredtoearliermayhaveonlyacoupleofhundredrecordsinit,eachwitha2simplestructure.Ontheotherhand,thecardcatalogofalargelibrarymaycontainhalfamillioncardsstoredunderdifferentcategories-byprimaryauthor’slastname,bysubject,bybooktitle,andthelike-witheachcategoryorganizedinalphabeticorder.AdatabaseofevengreatersizeandcomplexitymaybethatmaintainedbytheInternalRevenueServicetokeeptrackofthetaxformsfiledbytaxpayersoftheUnitedStates.Ifweassumethatthereare100milliontaxpayersandeachtaxpayerfilesanaverageoffiveformswithapproximately200charactersofinformationperform,wewouldgetadatabaseof100*(106)*200*5characters(bytes)ofinformation.AssumingtheIRSkeepsthepastthreereturnsforeachtaxpayerinadditiontothecurrentreturn,wewouldgetadatabaseof4*(1011)bytes.Thishugeamountofinformationmustsomehowbeorganizedandmanagedsothatuserscansearchfor,retrieve,andupdatethedataasneeded.Adatabasemaybegeneratedandmaintainedmanuallyorbymachine.Ofcourse,inthiswearemainlyinterestedincomputerizeddatabase.Thelibrarycardcatalogisanexampleofadatabasethatmaybemanuallycreatedandmaintained.Acomputerizeddatabasemaybecreatedandmaintainedeitherbyagroupofapplicationprogramswrittenspecificallyforthattaskorbyadatabasemanagementsystem.Adatabasemanagementsystem(DBMS)isacollectionofprogramsthatenablesuserstocreateandmaintainadatabase.TheDBMSishenceageneral-purposesoftwaresystemthatfacilitatestheprocessesofdefining,constructing,andmanipulatingdatabasesforvariousapplications.Definingadatabaseinvolvesspecifyingthetypesofdatatobestoredinthedatabase,alongwithadetaileddescriptionofeachtypeofdata.ConstructingthedatabaseistheprocessofstoringthedataitselfonsomestoragemediumthatiscontrolledbytheDBMS.Manipulatingadatabaseincludessuchfunctionsasqueryingthedatabasetoretrievespecificdata,updatingthedatabasetoreflectchangesintheminiworld,andgeneratingreportsfromthedata.Notethatitisnotnecessarytousegeneral-purposeDBMSsoftwareforimplementingacomputerizeddatabase.Wecouldwriteourownsetofprogramstocreateandmaintainthedatabase,ineffectcreatingourownspecial-purposeDBMSsoftware.Ineithercase-whetherweuseageneral-purposeDBMSornot-weusuallyhaveaconsiderableamountofsoftwaretomanipulatethedatabaseinadditiontothedatabaseitself.Thedatabaseandsoftwarearetogethercalledadatabasesystem.2.DataModelsOneofthefundamentalcharacteristicsofthedatabaseapproachisthatitprovidessomelevelofdataabstractionbyhidingdetailsofdatastoragethatarenotneededbymostdatabaseusers.Adatamodelisthemaintoolforprovidingthisabstraction.Adataisasetofconceptsthatcanbe3usedtodescribethestructureofadatabase.Bystructureofadatabase,wemeanthedatatypes,relationships,andconstraintsthatshouldholdonthedata.Mostdatamodelsalsoincludeasetofoperationsforspecifyingretrievalsandupdatesonthedatabase.CategoriesofDataModelsManydatamodelshavebeenproposed.Wecancategorizedatamodelsbasedonthetypesofconceptstheyprovidetodescribethedatabasestructure.High-levelorconceptualdatamodelsprovideconceptsthatareclosetothewaymanyusersperceivedata,whereaslow-levelorphysicaldatamodelsprovideconceptsthatdescribethedetailsofhowdataisstoredinthecomputer.Conceptsprovidedbylow-leveldatamodelsaregenerallymeantforcomputerspecialists,notfortypicalendusers.Betweenthesetwoextremesisaclassofimplementationdatamodels,whichprovideconceptsthatmaybeunderstoodbyendusersbutthatarenottoofarremovedfromthewaydataisorganizedwith

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功