完整版软件工程专业毕业设计外文文献翻译.docx
- 文档编号:4951914
- 上传时间:2022-12-12
- 格式:DOCX
- 页数:11
- 大小:27.51KB
完整版软件工程专业毕业设计外文文献翻译.docx
《完整版软件工程专业毕业设计外文文献翻译.docx》由会员分享,可在线阅读,更多相关《完整版软件工程专业毕业设计外文文献翻译.docx(11页珍藏版)》请在冰豆网上搜索。
完整版软件工程专业毕业设计外文文献翻译
(
二〇一三年六月
AHISTORICALPERSPECTIVE
Fromtheearliestdaysofcomputers,storingandmanipulatingdataamajorapplicationfocus.Thefirstgeneral-purposeDBMSwasdesignedbyCharlesBachmanatGeneralElectricintheearly1960sandwascalledtheIntegratedDataStore.Itformedthebasisforthenetworkdatamodel,whichwasstandardizedbytheConferenceonDataSystemsLanguages(CODASYL)andstronglyinfluenceddatabasesystemsthroughthe1960s.BachmanwasthefirstrecipientofACM’sTuringAward(thecomputerscienceequivalentofaNobelprize)forworkinthedatabasearea;1973.Inthelate1960s,IBMdevelopedtheInformationManagementSystem(IMS)DBMS,usedeventodayinmanymajorinstallations.IMSformedthebasisforanalternativedatarepresentationframeworkcalledtheAirlinesandIBMaroundthesametime,anditallowedseveralpeopletoaccessthesamedatathroughcomputernetwork.Interestingly,todaythesameSABREsystemisusedtopowerpopularWeb-basedtravelservicessuchasTravelocity!
In1970,EdgarCodd,atIBM’sSanJoseResearchLaboratory,proposedanewdatarepresentationframeworkcalledtherelationaldatamodel.Thisprovedtobeawatershedinthedevelopmentofdatabasesystems:
itsparkedrapiddevelopmentofseveralDBMSsbasedontherelationalmodel,alongwitharichbodyoftheoreticalresultsthatplacedthefieldonafirmfoundation.Coddwonthe1981TuringAwardforacademicdiscipline,andthepopularityofrelationalDBMSschangedthecommerciallandscape.Theirbenefitswerewidelyrecognized,andtheuseofDBMSsformanagingcorporatedatabecamestandardpractice.
Inthe1980s,therelationalmodelconsolidateditspositionasthedominantDBMSparadigm,anddatabasesystemscontinuedtogainwidespreaduse.TheSQLquerylanguageforrelationaldatabases,developedaspartofIBM’sSystemRproject,isnowthestandardquerylanguage.SQLwasstandardizedinthelate1980s,andthecurrentstandard,SQL-92,wasadoptedbytheAmericanNationalStandardsInstitute(ANSI)andInternationalStandardsOrganization(ISO).Arguably,themostwidelyusedformofconcurrentprogrammingistheconcurrentexecutionofdatabaseprograms(calledtransactions).Userswriteprogramsasiftheyaretoberunbythemselves,andtheresponsibilityforrunningthemconcurrentlyisgiventotheDBMS.JamesGraywonthe1999TuringawardformanagementinaDBMS.
Inthelate1980sandthe1990s,advancesmadeinmanyareasofdatabasesystems.Considerableresearchcarriedoutintomorepowerfulquerylanguagesandricherdatamodels,andthereabigemphasisonsupportingcomplexanalysisofdatafromallpartsofanenterprise.Severalvendors(e.g.,IBM’sDB2,Oracle8,InformixUDS)developedbynumerousvendorsforcreatingdatawarehouses,consolidatingdatafromseveraldatabases,andforcarryingoutspecializedanalysis.
Aninterestingphenomenonistheemergenceofseveralenterpriseresourceplanning(ERP)andmanagementresourceplanning(MRP)packages,whichaddasubstantiallayerofapplication-orientedfeaturesontopofaDBMS.WidelyusedpackagesincludesystemsfromBaan,Oracle,PeopleSoft,SAP,andSiebel.Thesepackagesidentifyasetofcommontasks(e.g.,inventorymanagement,resourcesplanning,financialanalysis)encounteredbyalargenumberoforganizationsandprovideageneralapplicationlayertocarryoutthesetasks.ThedataisstoredinarelationalDBMS,andtheapplicationlayercanbecustomizedtodifferentcompanies,leadingtolowerIntroductiontoDatabaseSystemsoverallcostsforthecompanies,comparedtothecostofbuildingtheapplicationlayerfromscratch.Mostsignificantly,perhaps,DBMSsofWebsitesstoredtheirdataexclusivelyinoperatingsystemsfiles,theuseofaDBMStostoredatathatisaccessedthroughaWebbrowserisbecomingwidespread.QueriesaregeneratedthroughWeb-accessibleformsandanswersareformattedusingamarkuplanguagesuchasHTML,inordertobeeasilydisplayedinabrowser.AllthedatabasevendorsareaddingfeaturestotheirDBMSaimedatmakingitmoresuitablefordeploymentovertheInternet.Databasemanagementcontinuestogainimportanceasmoreandmoredataisbroughton-line,andmadeevermoreaccessiblethroughcomputernetworking.Todaythefieldisbeingdrivenbyexcitingvisionssuchasmultimediadatabases,interactivevideo,digitallibraries,agenomemappingeffortandNASA’sEarthObservationSystemproject,andthedesireofcompaniestoconsolidatetheirdecision-makingprocessesandminetheirdatarepositoriesforusefulinformationabouttheirbusinesses.Commercially,databasemanage-mentsystemsrepresentoneofthelargestandmostvigorousmarketsegments.Thusthes-tudyofdatabasesystemscouldprovetoberichlyrewardinginmorewaysthanone!
INTRODUCTIONTOPHYSICALDATABASEDESIGN
Likeallotheraspectsofdatabasedesign,physicaldesignmustbeguidedbythenatureofthedataanditsintendeduse.Inparticular,itisimportanttounderstandthetypicalworkloadthatthedatabasemustsupport;theworkloadconsistsofamixofqueriesandupdates.Usersalsorequirementsaboutqueriesorupdatesmustrunorandusers’performancerequirementsarethebasisonwhichanumberofdecisions.
Tocreateagoodphysicaldatabasedesignandtotunethesystemforperformanceinresponsetoevolvinguserrequirements,thedesignerneedstounderstandtheworkingsofaDBMS,especiallytheindexingandqueryprocessingtechniquessupportedbytheDBMS.Ifthedatabaseisexpectedtobeaccessedconcurrentlybymanyusers,orisadistributeddatabase,thetaskbecomesmorecomplicated,andotherfeaturesofaDBMScomeintoplay.
DATABASEWORKLOADS
Thekeytogoodphysicaldesignisarrivingatanaccuratedescriptionoftheexpectedworkload.Aworkloaddescriptionincludesthefollowingelements:
1.Alistofqueriesandtheirfrequencies,asafractionofallqueriesandupdates.
2.Alistofupdatesandtheirfrequencies.
3.Performancegoalsforeachtypeofqueryandupdate.
Foreachqueryintheworkload,wemustidentify:
Whichrelationsareaccessed.
Whichattributesareretained(intheSELECTclause).
Whichattributesorjoinconditionsexpressedonthem(intheWHEREclause)andtheworkload,wemustidentify:
Whichattributesorjoinconditionsexpressedonthem(intheWHEREclause)and.
ForUPDATEcommands,thefieldsthataremodifiedbytheupdate.
Rememberthatqueriesandupdatestypicallyinvolvesaparticularaccountnumber.Thevaluesoftheseparametersdetermineselectivityofselectionandjoinconditions.
Updatesbenefitfromagoodphysicaldesignandthepresenceofindexes.Ontheotherindexesontheattributesthattheymodify.Thus,whilequeriescanonlybenefitfromthepresenceofanindex,anindexmayeitherspeeduporslowdownagivenupdate.Designersshouldkeepthistrade-offerinmindwhencreatingindexes.
NEEDFORDATABASETUNING
Accurate,detailedworkloadinformationmaybeofthesystem.Consequently,tuningadatabaseafteritdesignedanddeployedisimportant—wemustrefinetheinitialdesigninthelightofactualusagepatternstoobtainthebestpossibleperformance.
Thedistinctionbetweendatabasedesignanddatabasetuningissomewhatarbitrary.
Wecouldconsiderthedesignprocesstobeoveronceaninitialconceptualschemaisdesignedandasetofindexingandclusteringdecisionsismade.Anysubsequentchangestotheconceptualschemaortheindexes,say,wouldthenberegardedasatuningactivity.Alternatively,wecouldconsidersomerefinementoftheconceptualschema(andphysicaldesigndecisionsaffectedbythisrefinement)tobepartofthephysicaldesignprocess.
Wherewedrawthelinebetweendesignandtuningisnotveryimportant.
OVERVIEWOFDATABASETUNING
Aftertheinitialphaseofdatabasedesign,actualuseofthedatabaseprovidesavaluablesourceofdetailedinformationthatcanbeusedtorefinetheinitialdesign.Manyoftheoriginalassumptionsabouttheexpectedworkloadcanbereplacedbyobservedusagepatterns;ingeneral,someoftheinitialworkloadspecificationwillbevalidated,andsomeofitwillturnouttobewrong.Initialguessesaboutthesizeofdatacanbereplacedwithactualstatisticsfromthesystemcatalogs(althoughthisinformationwillkeepchangingasthesystemevolves).Carefulmonitoringofqueriescanrevealunexpectedproblems;forexample,theoptimizermaynotbeusingsomeindexesasintendedtoproducegoodplans.
Continueddatabasetuningisimportanttogetthebestpossibleperformance.
TUNINGTHECONCEPTUALSCHEMA
Inthecourseofdatabasedesign,wemayrealizethatourcurrentchoiceofrelationschemasdoesnotenableusmeetourperformanceobjectivesforthegivenworkloadwithany(feasible)setofphysicaldesignchoices.Ifso,wemayourconceptualschema(andre-examinephysicaldesigndecisionsthatareaffectedbythechangesthatwemake).
Wemayrealizethataredesignisnecessaryduringtheinitialdesignprocessorlater,afterthesysteminuseforawhile.Onceadatabasedesignedandpopulatedwithdata,changingtheconceptualschemarequiresasignificanteffortintermsofmappingthecontentsofrelationsthatareaffected.Nonetheless,itmaysometimesbenecessarytorevisetheconceptualschemainlightofexperiencewiththesystem.Wenowconsidertheissuesinvolvedinconceptualschema(re)designfromthepointofviewofperformance.
Severaloptionsmustbeconsideredwhiletuningtheconceptualschema:
Wemaydecidetosettlefora3NFdesigninsteadofaBCNFdesign.
Iftherearetwowaystodecomposeagivenschemainto3NForBCNF,ourchoiceshouldbeguidedbytheworkload.
Sometimeswemightdecide
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 完整版 软件工程 专业 毕业设计 外文 文献 翻译