计算机专业英语(第二版)Chapter11课件_第1页
计算机专业英语(第二版)Chapter11课件_第2页
计算机专业英语(第二版)Chapter11课件_第3页
计算机专业英语(第二版)Chapter11课件_第4页
计算机专业英语(第二版)Chapter11课件_第5页
已阅读5页,还剩60页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

ComputerEnglishChapter11DatabaseManagementKeypoints:

usefultermsanddefinitionsofDatabaseManagement

Difficultpoints:

ClassificationofthelogicalstructuringtechniquesofDBMSRequirements:Principleofeasiestpenetration掌握英文论文引言的写作技巧。NewWords&Expressions:facilitatevt.使容易,推动,促进 retrievaln.检索field字段,是数据库的基本存取单位 record记录,由字段组成的一种数据单位relationaldatabase关系数据库 flatdatabase非结构化的数据库object-orienteddatabase面向对象的数据库 alphabeticallyad.按字母顺序地chronologicallyad..按年代顺序排列地 breakdownv.分解buildupv.建造,建立,装配,组成 rangefrom…to…vt.从…到encyclopaedian.百科全书

11.1Overview11.1OverviewDatabase(sometimesspelleddatabase)isalsocalledanelectronicdatabase,referringtoanycollectionsofdata,orinformation,thatisspeciallyorganizedforrapidsearchandretrievalbyacomputer.Databasesarestructuredtofacilitatethestorage,retrieval,modification,anddeletionofdatainconjunctionwithvariousdata-processingoperations.Databasescanbestoredonmagneticdiskortape,opticaldisk,orsomeothersecondarystoragedevice.数据库(有时也拼写成database)也叫电子数据库,指的是任何数据或信息的总汇,也就是为了计算机快速搜索和检索而专门组织的信息。数据库的构建使各种数据处理操作中的数据的存储、检索、修改和删除变得容易。数据库可以存储在磁盘或磁带上,光盘或一些其它副存储器上。

Adatabaseconsistsofafileorasetoffiles.Theinformationinthesefilesmaybebrokendownintorecords,eachofwhichconsistsofoneormorefields.Fieldsarethebasicunitsofdatastorage,andeachfieldtypicallycontainsinformationpertainingtooneaspectorattributeoftheentitydescribedbythedatabase.Usingkeywordsandvarioussortingcommands,userscanrapidlysearch,rearrange,group,andselectthefieldsinmanyrecordstoretrieveorcreatereportsonparticularaggregatesofdata.一个数据库由一个文件或文件集合组成。这些文件中的信息可分解成一个个记录,每个记录有一个或多个域。域是数据存储的基本单位,每个域一般含有由数据库描述的属于实体的一个方面或一个特性的信息。用户使用键盘和各种排序命令,能够快速查找、重排、分组并在查找的许多记录中选择相应的域,建立特定集上的报表。11.1Overview11.1OverviewDatabaserecordsandfilesmustbeorganizedtoallowretrievaloftheinformation.Earlysystemswerearrangedsequentially(i.e.,alphabetically,numerically,orchronologically);thedevelopmentofdirect-accessstoragedevicesmadepossiblerandomaccesstodataviaindexes.Queriesarethemainwayusersretrievedatabaseinformation.Typically,theuserprovidesastringofcharacters,andthecomputersearchesthedatabaseforacorrespondingsequenceandprovidesthesourcematerialsinwhichthosecharactersappear.Ausercanrequest,forexample,allrecordsinwhichthecontentofthefieldforaperson’slastnameisthewordSmith.数据库记录和文件的组织必须确保能对信息进行检索。早期的系统是顺序组织的(如:字母顺序、数字顺序或时间顺序);直接访问存储设备的研制成功使得通过索引随机访问数据成为可能。用户检索数据库信息的主要方法是query(查询)。通常情况下,用户提供一个字符串,计算机在数据库中寻找相应的字符序列,并且给出字符串在何处出现。比如,用户能够在所有记录中寻找所有lastname域为Smith的记录。11.1OverviewThemanyusersofalargedatabasemustbeabletomanipulatetheinformationwithinitquicklyatanygiventime.Moreover,largebusinessandotherorganizationstendtobuildupmanyindependentfilescontainingrelatedandevenoverlappingdata,andtheirdataprocessingactivitiesoftenrequirethelinkingofdatafromseveralfiles.Severaldifferenttypesofdatabasemanagementsystemshavebeendevelopedtosupporttheserequirements:flat,hierarchical,network,relational,andobject-oriented.大型数据库的许多用户必须能够在任何时间内快速使用数据库中的信息。而且,大公司和其他机构倾向于建立很多包含相关数据、甚至重叠数据的文件,他们的数据处理经常要求链接几个文件中数据。为了满足他们的要求,已开发了几种不同类型的数据库管理系统:非结构化数据库、层次型数据库、网络数据库、关系型数据库和面向对象的数据库。Inflatdatabases

,recordsareorganizedaccordingtoasimplelistofentities;manysimpledatabasesforpersonalcomputersareflatinstructure.Therecordsinhierarchicaldatabasesareorganizedinatreelikestructure,witheachlevelofrecordsbranchingoffintoasetofsmallercategories.Unlikehierarchicaldatabases,whichprovidesinglelinksbetweensetsofrecordsatdifferentlevels,networkdatabasescreatemultiplelinkagesbetweensetsbyplacinglinks,orpointers,toonesetofrecordsinanother;thespeedandversatilityofnetworkdatabaseshaveledtotheirwideuseinbusiness.在非结构化的数据库中,按照实体的一个简单列表组织记录;很多个人计算机的简易数据库是非结构的。层次型数据库按树型组织记录,每一层的记录分解成更小的属性集。层次型数据库在不同层的记录集之间提供一个单一链接,与此不同,网络型数据库在不同记录集之间提供多个链接,这是通过设置指向其它记录集的链或指针来实现的。网络型数据库的速度及多样性使其在企业中得到广泛应用。11.1OverviewRelationaldatabasesareusedwhereassociationsamongfilesorrecordscannotbeexpressedbylinks;asimpleflatlistbecomesonetable,or“relation”,andmultiplerelationscanbemathematicallyassociatedtoyielddesiredinformation.Object-orienteddatabasesstoreandmanipulatemorecomplexdatastructures,called“objects”,whichareorganizedintohierarchicalclassesthatmayinheritpropertiesfromclasseshigherinthechain;thisdatabasestructureisthemostflexibleandadaptable.当文件或记录间的关系不能用链表达时,使用关系型数据库。一个表或一个“关系”,就是一个简单的非结构列表。多个关系可通过数学关系提供所需信息。面向对象的数据库存储并处理更复杂的称为对象的数据结构,可组织成有层次的类,其中的每个类可以继承层次链中更高一级类的特性,这种数据库结构最灵活,最具适应性。11.1Overview11.1OverviewTheinformationinmanydatabasesconsistsofnatural-languagetextsofdocuments;number-orienteddatabasesprimarilycontaininformationsuchasstatistics,tables,financialdata,andrawscientificandtechnicaldata.Smalldatabasescanbemaintainedonpersonal-computersystemsandmaybeusedbyindividualsathome.Theseandlargerdatabaseshavebecomeincreasinglyimportantinbusinesslife.许多数据库中的信息是由文档的自然语言文本组成的;面向数字的数据库主要由统计数据、表格数据、财务数据和原始科技数据之类的信息组成。小型数据库可以在个人计算机系统上维护,且可以由个人在家中使用。这些小型数据库和大型数据库在商业生活中变得越来越重要。11.1OverviewTypicalcommercialapplicationsincludeairlinereservations,productionmanagement,medicalrecordsinhospitals,andlegalrecordsofinsurancecompanies.Thelargestdatabasesareusuallymaintainedbygovernmentalagencies,businessorganizations,anduniversities.Thesedatabasesmaycontaintextsofsuchmaterialsasabstracts,reports,legalstatutes,wireservices,newspapersandjournals,encyclopedias,andcatalogsofvariouskinds.Referencedatabasescontainbibliographiesorindexesthatserveasguidestothelocationofinformationinbooks,periodicals,andotherpublishedliterature.典型的商业应用包括航空预定、生产管理、医院的医药纪录和保险公司的法律纪录。最大的数据库通常由政府机关、商业机构和大学来维护。这些数据库可以包括诸如摘要、报告、法规、线路服务、报纸杂志、百科全书和各种目录之类的文本。参考数据库包括参考书目或索引,可作为书、期刊和其他出版物的信息地址指南。11.1OverviewThousandsofthesepubliclyaccessibledatabasesnowexist,coveringtopicsrangingfromlaw,medicine,andengineeringtonewsandcurrentevents,games,classifiedadvertisements,andinstructionalcourses.Professionalssuchasscientists,doctors,lawyers,financialanalysts,stockbrokers,andresearchersofalltypesincreasinglyrelyonthesedatabasesforquick,selectiveaccesstolargevolumesofinformation.目前有上千种可公开访问的数据库,覆盖了从法律、医药和工程到新闻时事、游戏、分类广告和教育课程各个主题。科学家、医生、律师、财务分析师、股票经纪人和各类研究人员越来越多地依靠这些数据库来快速、有选择性地来访问大量信息。NewWords&Expressions:inventoryn.详细目录,存货,清单 invoicen.发票,发货单hierarchicala.层次的 fuselagen.机身mail-order邮购 inheritvt.继承onthebasisof在……的基础上,基于 masterkey万能钥匙,主健resemblevt.象,类似 retrievev.重新得到,检索merchandisen.商品,货物 ID(identification)身分,身份explicitlyad.明白地,明确地 bemadeupof由……组成

transactionn.办理,处理,交易,处理事务subordinatea.次要的,从属的,下级的;n.下属 11.2DatabaseModelsTherearemanydifferentwaystostructureandorganizetherelationshipsamongdatainadatabase.Thefirststepincreatingadatabaseistochoosethemodelwithwhichtorepresentthedata.Therearethebuildingblocksthatareusedtoconstructmorecomplexdatabasemodels.在数据库中构建数据的关系有多种不同方法。创建数据库的第一步是选择表示数据的模型,现有多种构件用于构造更复杂的数据库模型。11.2DatabaseModelsAmodel,oftencalledaschema,isusedtodescribetheoverallcharacteristicsofadatabase.Likethetableofcontentsforabook,adatabasemodelidentifiesthemajorparts(e.g.,files,records,andfields)ofadatabaseandillustrateshowthesepartsfittogether.模型,经常被叫做模式,用来描述数据库的总体特性。就像一本书中的表格内容一样,数据库模型确定数据库的主要部分(如文件、记录和字段),并说明这些部分如何结合在一起。Databasemodelsincludeflatfile,relational,hierarchical,network,objectoriented,andtext.数据库模型包括非结构化文件、关系型、层次型、网络型、面向对象型和文本。11.2DatabaseModels11.2DatabaseModelsCust.IDNameFirstAddressCityStZip001SmithMark656246thSt.RoslynNY11576002DaoltShelia12WindsongDr.ArlingtonVA22201003NasserJames123WatercressLn.MidvaleUT84074004SmithMark807W19thSt.SeattleWA98168Table11-111.2.1FlatFileThesimplestofalldatabasemodelsistheflatfile,alsocalledatable.Theflatfileisasinglefileconsistingofrows(records)andcolumns(fields)ofdatathatresembleatwo-dimensionalspreadsheet.Forexample,supposeyouwanttocreateacustomerfileforyourmail-orderbusiness.Youcanuseaflat-filemodelwithonerecordpercustomer,usethenamesandaddressesofyourcustomerstocreateindividualfields,andcombinethosedatawithauniquecustomeridentification(ID)field.TheIDfieldisakeyfieldthateliminatestheproblemofduplicatecustomernames(e.g.,MarkSmithinSeattleandMarkSmithinNewYork).11.2.1非结构化文件所有数据库模型中最简单的就是非结构化文件,也叫表格。非结构化文件是包含数据行(记录)和列(字段)的单一文件,它形成了一个二维电子表格。例如,假设你要为邮购业务产生一个客户文件,你可以使用每个客户一个记录的非结构化文件的模型,用客户的名字和地址来生成单个字段,并用一个独特的客户身份(ID)字段和这些数据相结合。ID字段是解决客户名字完全相同问题的关键字段(如:西雅图的马克•史密斯和纽约的史密斯)。11.2DatabaseModelsWhereasasingleflatfilesuchasacustomerfileisusefulforkeepingtrackofcustomersandpreparingmailinglists,itcannotcreateacompletemail-orderapplication.Forthatadifferentdatabasemodelisneeded(asTable11-1).虽然像客户文件这样的单一非结构文件可用于跟踪客户、准备邮寄列表,但它不能创建一个完整邮购程序。因此,需要一个不同的数据库模型(如表11-1所示)11.2DatabaseModels11.2.2RelationalIn1970,E.F.Codd,whowasworkingforIBMatthetime,publishedapapertitled“ARelationalModelofDataforLargeSharedDataBanks”.Thatpaperisnowcreditedastheoriginoftheentirefieldofrelationaldatabasetechnology.11.2.2关系型数据库1970年,当时在IBM工作的E.F.Codd发表了一篇题为“大型共享数据库的关系模型”的论文。现在这篇论文被视为关系型数据库技术整个领域的开端。11.2DatabaseModelsTherelationalmodelusesoneormoreflatfilesortablesandcreatesrelationshipsamongthetablesonthebasisofacommonfieldineachofthetables.Eachflatfileortableiscalledarelation.Forexample,amail-orderapplicationmustorganizethecustomersaswellastheproductsforsale,sowhatisneededisaninventoryfile.Theinventoryfiledescribeseachitemforsale,anditskeyfieldisauniqueitemnumber.关系型模型使用一种或多种非结构化文件或表格,并以每个表格中共同字段为基础建立表格之间的关系。每个非结构化文件或表格称为一个关系。例如,一个邮购应用必须使客户以及销售的产品井然有序,所以需要一个清单文件。清单文件描述销售的每个项目,它的关键字段是一个独特的项目数字。11.2DatabaseModelsTheothercomponentsofourmail-orderapplicationaretakingordersandbillingcustomers.Fortakingorders,anorderfilewouldconsistofanordernumber,orderdata,customernumber,itemnumberandquantityordered.Togeneratebillsorinvoices,aninvoicefilewouldcontaininvoicesnumber,customerID,date,itemsandquantitiesordered,prices,andwhethertheinvoicehasbeenpaid.邮购应用的其他组成是接受订单和记帐。为了接受订单,订单文件应有订单号、订单数据、客户号、项目号和订货数量。为了制成账单或发票,发票文件应有发票号、客户ID、日期、订购项目和数量、价格,以及发票是否已经付出。11.2DatabaseModelsThedatabasenowconsistsoffourflatfiles:customer,inventory,order,andinvoice.Notethatthereislittleredundancyorduplicationofdataamongtherelations.Nowwearereadyforthedatamanipulationoperations.现在数据库由四个非结构化文件组成:客户、清单、订单和发票。注意相关数据中有一些冗余和重复。现在我们做好数据操作准备。11.2DatabaseModelsFillinganorderwouldproceedsomewhatasfollows.Acustomersendsinanorderformerchandise.Thatorderisassignedauniqueordernumber.Theorderfileisupdatedbyrelatingthedatainthecustomerfilewiththedataintheinventoryfile.Similarly,theinvoiceisgeneratedbyrelatingtheinventoryfile,theorderfile,andthecustomerfileonthebasisofthecommonfieldsamongthefiles.填写订单大致按下列程序操作:客户提交商品订单,然后为订单指定唯一的订单号。订单文件由带有发票文件数据的关联客户文件更新。类似地,以相关清单文件、订单文件和客户文件中的共同字段为基础制成发票。11.2DatabaseModelsInrelationalterminology,whathasbeenhappeningisthatasetofoperators,knownasrelationalalgebra,hasbeenappliedtotherelationsorfiles.Theoperatorstakedatainexitingfilesandproducethedesiredresults.Commonoperatorsarethejoinoperator,whichcombinestwoseparatefilesusingacommonfield,andtheprojectoperator,whichcreatesanewfilebyselectingfieldsfromanexistingfile.在关系型数据库术语中,出现了应用于相互关系或文件的一套运算符号,这就是众所周知的关系代数。运算符号从现存的文件里提取数据,然后产生期待的结果。常见的运算符号是连接符和项目运算符,前者用一个公共字段把两个分开的文件结合在一起,后者从现存文件中选择字段生成新的文件。11.2DatabaseModelsExamplesofproductsthatusetherelationalmodelareIBM’sDB2,OracleCorporation’sOracle,andSybase,Inc.’sSybaseDBMS.

使用关系模型的产品例子是IBM的DB2数据库,Oracle公司的Oracle数据库和Sybase,Inc.的Sybase数据库管理系统。11.2DatabaseModels11.2.3HierarchicalThehierarchicalmodelisolderthantherelationalmodel.Itcreatesrelationshipsamongdatabystructuringdataintoaninvertedtreeinwhichrecordscontain:(1)Asinglerootormasterkeyfieldthatidentifiesthetype,location,ororderingoftherecords.(2)Avariablenumberofsubordinatefieldsthatdefinetherestofthedatawithinarecord.11.2.3层次型层次模型比关系模型老得多。它把结构化数据构成一颗倒置的树,创建数据之间的关系。其记录包括:(1)单一根或主键字段,用于确认类型、地址或记录的顺序。(2)下属字段的变量数,用于定义记录内的其余数据。11.2DatabaseModelsThehierarchicalmodelwasdevelopedbecausehierarchicalrelationshipsarecommonlyfoundinbusinessapplications.Asyouhaveknown,anorganizationchartoftendescribesahierarchicalrelationship:topmanagementisatthehighestlevel,middlemanagementatlowerlevels,andoperationalemployeesatthelowestlevels.Notethatwithinastricthierarchy,eachlevelofmanagementmayhavemanyemployeesorlevelsofemployeesbeneathit,buteachemployeehasonlyonemanager.Hierarchicaldataarecharacterizedbythisone-to-manyrelationshipamongdata.因为在商业应用中随处可见层次关系而开发了层次模型。正如你已所知,组织图经常用于描述层次关系:顶级管理处于最高层,中间管理处于较低层,而操作雇员处于最底层。注意,在严格的层次下,每个管理层可以有许多雇员或雇员层,但每个雇员只有一个经理。层次数据的特点是数据中的这种一对多关系。11.2DatabaseModelsAsanotherexample,considerasimplifiedairplanesparepartsdatabase.Anairplane,likemostsystems,ismadeupofasetofassembliesthataremadeupofsubassembliesandsoon.Usingahierarchicalapproach,therelationshipsbetweenrecordsandfieldsmightbeestablishedasfollows:thefirstorhighestlevelwouldcontainthemajorassemblies,suchaswings,fuselage,andcockpit;thesecondlevelofthehierarchywouldcontainsubassembliesforeachmajorassembly;andthelevelsfartherdownwouldincludethespecificpartnumbersandpartinformation.作为另一个例子,考虑一个简化的飞机零件数据库。同大多数系统一样,飞机是由一系列部件组成的,部件是由子部件组成的,等等。使用层次方法,可以建立如下记录与字段之间的关系:最高级包括主要部件,如机翼、机身和座舱,第二级包括每个主要部件的子部件;再下层包括特殊零件数和零件信息。11.2DatabaseModelsThisapproachwouldbeveryconvenientforansweringcustomerinquiriesaboutpartsandtheiravailability,butitwouldbelessconvenientformakinganinquiryaboutwhatpartsareonwhatplanes.Beforeinformationaboutspecificpartsandplanescanbeobtained,eachmajorassemblymustfirstberetrieved,andseverallevelsofthehierarchymustbenavigatedtoobtainthepartinformation.这种方法可以很方便地答复客户关于零件和零件利用率方面的查询,但不方便查询零件在什么飞机上。在获得有关特殊零件和飞机信息前,必须首先检索每个主要部件,而且必须经过几个层次来获得零件信息。11.2DatabaseModelsInthehierarchicalapproach,eachrelationshipmustbeexplicitlydefinedwhenthedatabaseiscreated.Eachrecordinahierarchicaldatabasecancontainonlyonekeyfieldandonlyonerelationshipisallowedbetweenanytwofields.Thiscancreateaproblembecausedatadonotalwaysconformtosuchastricthierarchy.Therivetsinawing,forexample,mightbeidenticaltotherivetsinthefuselage.在层次方法中,当创建数据库时必须明确定义每个关系。层次数据库中每个记录只允许有一个关键字段,且任意两个字段间只允许有一种关系。因为实际数据并不是总符合这样一个严格的层次关系,这就可能产生一个问题。例如,机翼上的铆钉可能与机身铆钉完全相同。11.2DatabaseModelsExamplesofcommercialdatabaseproductsthatusethehierarchicalmodelareIBM’sIMSandCullinet’sIDMS.使用层次模型的商业化数据库产品有IBM的IMS和Cullinet

的IDMS。11.2DatabaseModels11.2.4OtherDatabaseModelsThereareseveralotherdatabasemodelsthatareworthabriefmention.Wehavealreadymentionedthetextmodel.11.2.4其他数据库类型还有其他一些数据库类型值得一提的。我们已经提到过文本模型。11.2DatabaseModelsThenetworkmodelcreatesrelationshipsamongdatathroughalinked-liststructureinwhichsubordinaterecordscanbelinkedtomorethanoneparentrecord.Thisapproachcombinesrecordswithlinks,whicharecalledpointers.Thepointersareaddressesthatindicatethelocationofarecord.Withthenetworkapproach,asubordinaterecordcanbelinkedtoakeyrecordandatthesametimeitselfbeakeyrecordlinkedtoothersetsofsubordinaterecords.Thenetworkmodelhistoricallyhashadaperformanceadvantageoverotherdatabasemodels.Today,suchperformancecharacteristicsareonlyimportantinhigh-volume,high-speedtransactionprocessingsuchasautomatictellermachinenetworksorairlinereservationsystem.在连接表结构中,下级记录可以与不只一个父记录链接,网络模型通过连接表结构建立数据之间的关系。这种方法把记录与链接结合起来,其链接叫做指针。指针是指示记录位置的地址。有了网络方法,下级记录可以与关键记录链接,且同时它自身作为关键记录与其他下级记录相链接。历史上网络模型已表现出优于其他数据库模型的优势。今天,这种特性只在高容量、高速度传输过程是重要的,如,自动柜员机网络或航空预定系统。11.2DatabaseModelsTheobject-orientedmodelgroupsdataintocollectionsthatrepresentsomekindofobject.Forexample,allthedatathatrelatetothewingofanairplane.Moreimportant,theobject-orientedmodelalsoallowsrecordstoinheritinformationfromancestorrecords.Inthemail-orderapplication,forexample,anorderforshoeswouldinheritinformationsuchasthecustomer’snameandaddressfromtheorderfile.

面向对象的模型使数据组合成代表某种对象的集合。例如,与飞机机翼有关的所有数据。更重要的是,面向对象的模型也允许记录从前辈记录继承信息。例如,在邮购应用程序中,鞋的订单将从订单文件中继承诸如客户名称和地址之类的信息。11.2DatabaseModelsOracleincludesmanyfeaturesthatmakethedatabaseeasiertomanage.We’vedividedthediscussioninthissectionintothreecategories:OracleEnterpriseManager,add-onpacks,backupandrecovery.Oracle包括许多使数据库易于管理的功能,分三部分讨论:Oracle企业管理者、附加包、备份和恢复。11.3DatabaseManagementFeaturesofOracleOracleEnterpriseManagerAspartofeveryDatabaseServer,OracleprovidestheOracleEnterpriseManager(EM),adatabasemanagementtoolframeworkwithagraphicalinterfaceusedtomanagedatabaseusers,instances,andfeatures(suchasreplication)thatcanprovideadditionalinformationabouttheOracleenvironment.Oracle企业管理者Oracle数据库服务器包括以下部分:Oracle企业管理者(EM)、一个带有图形接口的用于管理数据库用户、实例和提供Oracle环境等附加信息功能(如:复制)的数据库管理工具框架。11.3DatabaseManagementFeaturesofOraclePriortotheOracle8idatabase,theEMsoftwarehadtobeinstalledonWindows95/98orNT-basedsystemsandeachrepositorycouldbeaccessedbyonlyasingledatabasemanageratatime.NowyoucanuseEMfromabrowserorloaditontoWindows95/98/2000orNT-basedsystems.MultipledatabaseadministratorscanaccesstheEMrepositoryatthesametime.IntheEMrrepositoryforOracle9i,thesuperadministratorcandefineservicesthatshouldbedisplayedonotheradministrators’consoles,andmanagementregionscanbesetup.在Oracle8i数据库之前,EM软件必须安装在Windows95/98或者基于NT的系统中,而且每个库每次只能由一个数据库管理者访问。如今你可以通过浏览器或者把EM装入Windows95/98或基于NT的系统中来使用EM。多个数据库管理员可以同时访问EM库。在Oracle9i的EM版中,超级管理员可以定义在普通管理员的控制台上显示的服务,并能建立管理区域。11.3DatabaseManagementFeaturesofOracleAdd-onpacksSeveraloptionaladd-onpacksareavailableforOracle,asdescribedinthefollowingsections.Inadditiontothesedatabase-managementpacks,managementpacksareavailableforOracleApplicationsandforSAPR/3.附加包正如下面所描述的那样,Oracle可使用一些可选的附加包。除了这些数据库管理的附加包,还有用于Oracle应用程序和SAPR/3的管理包。11.3DatabaseManagementFeaturesofOracleStandardManagementPackTheStandardManagementPackforOracleprovidestoolsforthemanagementofsmallOracledatabases(e.g.,OracleServer/StandardEdition).Featuresincludesupportforperformancemonitoringofdatabasecontention,I/O,load,memoryuseandinstancemetrics,sessionanalysis,indextuning,andchangeinvestigationandtracking.标准管理包Oracle的标准管理包提供了用于小型Oracle数据库的管理工具(如:Oracle服务器/标准版)。功能包括:对数据库争用、输入/输出、装载、内存使用和实例、对话分析、索引调整进行监控,并改变调查和跟踪。11.3DatabaseManagementFeaturesofOracleDiagnosticsPackYoucanusetheDiagnosticPacktomonitor,diagnose,andmaintainthehealthofEnterpriseEditiondatabases,operatingsystems,andapplications.Withbothhistoricalandreal-timeanalysis,youcanautomaticallyavoidproblemsbeforetheyoccur.Thepackalsoprovidescapacityplanningfeaturesthathelpyouplanandtrackfuturesystem-resourcerequirements.诊断包利用诊断包,可以监控、诊断及维护企业版数据库、操作系统和应用程序的安全。用有关历史和实时的分析,可自动的在问题发生前将其消除。诊断包还提供空间管理功能,有助于对未来系统资源需求的计划和跟踪。11.3DatabaseManagementFeaturesofOracleTuningPackWiththeTuningPack,youcanoptimizesystemperformancebyidentifyingandtuningEnterpriseEditiondatabaseandapplicationbottleneckssuchasinefficientSQL,poordatadesign,andtheimproperuseofsystemresources.Thepackcanproactivelydiscovertuningopportunitiesandautomaticallygeneratetheanalysisandrequiredchangestotunethesystems.调整包利用调整包,可确定并调整企业版数据库和应用系统的瓶颈,如效率低的SQL、很差的数据设计、系统资源的不当使用,从而优化系统性能。调整包能提前发现调整时机,并自动生成分析和需求变化来调整系统。11.3DatabaseManagementFeaturesofOracleChangeManagementPackTheChangeManagementPackhelpseliminateerrorsandlossofdatawhenupgradingEnterpriseEditiondatabasestosupportnewapplications.Itcananalyzetheimpactandcomplexdependenciesassociatedwithapplicationchangesandautomaticallyperformdatabaseupgrades.Userscaninitiatechangeswitheasy-to-usewizardsthatteachthesystematicstepsnecessarytoupgrade.变化管理包变化管理包在升级企业版数据库时帮助排错和避免丢失数据,以达到支持新的应用程序的目的。该包能分析与应用程序变动有关的影响和复杂依赖关系并自动升级数据库。用户可使用一种简单的向导按必要的步骤来升级。11.3DatabaseManagementFeaturesofOracleAvailabilityOracleEnterpriseManagercanbeusedformanagingOracleStandardEditionand/orEnterpriseEdition.Additionalfunctionalityfordiagnostics,tuning,andchangemanagementofStandardEditioninstancesisprovidedbytheStandardManagementPack.ForEnterpriseEdition,suchadditionalfunctionalityisprovidedbyseparateDiagnostics,Tuning,andChangeManagementPacks.可用性Oracle企业管理者可用于管理Oracle标准版或企业版。在标准版中,用于诊断、调整和改变实例的附加功能由标准管理包提供。对于企业版,这些附加的功能由单独的诊断包、调整包和变化管理包提供。11.3DatabaseManagementFeaturesofOracleBackupandRecoveryAseverydatabaseadministratorknows,backingupadatabaseisarathermundanebutnecessarytask.Animproperbackupmakesrecoverydifficult,ifnotimpossible.Unfortunately,peopleoftenrealizetheextremeimportanceofthiseverydaytaskonlywhenitistoolate­—usuallyafterlosingbusiness-criticaldataduetoafailureofarelatedsystem.备份和恢复正如每个数据库管理者所熟知的,对数据库做备份是一件很普通但又必要的工作。一次不当的备份会使数据库难于恢复甚至不可恢复。不幸的是,人们往往在相关系统发生故障而丢失了重要的业务数据后才认识到这项日常工作的重要。11.3DatabaseManagementFeaturesofOracleThefollowingsectionsdescribesomeproductsandtechniquesforperformingdatabasebackupoperations.下面介绍一些实现数据库备份操作的产品和技术。11.3DatabaseManagementFeaturesofOracleRecoveryManagerTypicalbackupsincludecompletedatabasebackups(themostcommontype),tablespacebackups,datafilebackups,controlfilebackups,andarchivelogbackups.Oracle8introducedtheRecoveryManager(RMAN)fortheserver-managedbackupandrecoveryofthedatabase.Previously,Oracle’sEnterpriseBackupUtility(EBU)providedasimilarsolutiononsomeplatforms.恢复管理者典型的备份包括完整的数据库备份(最普通的类型)、桌面空间备份、数据文件备份、控制文件备份和存档注册备份。Oracle8为数据库服务器管理备份和恢复引进了恢复管理者(RMAN)。以前,Oracle的企业备份工具(EBU)在一些平台上提供了相似的解决方案。11.3DatabaseManagementFeaturesofOracleHowever,RMAN,withitsRecoveryCatalogstoredinanOracledatabase,providesamuchmorecompletesolution.RMANcanautomaticallylocate,backup,restore,andrecoverdatafiles,controlfiles,andarchivedredologs.RMANforOracle9icanrestartbackupsandrestoresandimplementrecoverywindowpolicieswhenbackupsexpire.TheOracleEnterpriseManagerBackupManagerprovidesaGUI-basedinterfacetoRMAN.然而,RMAN及其存储在Oracle数据库中的恢复目录提供了更完整的解决方案。RMAN可以自动定位、备份、存储并恢复数据文件、控制文件和存档记录注册。当备份到期时,Oracle9i的RMAN可以重新启动备份和恢复来实现恢复窗口的任务。Oracle企业管理者的备份管理者为RMAN提供基于图形用户界面的接口。11.3DatabaseManagementFeaturesofOracleIncrementalbackupandrecoveryRMANcanperformincrementalbackupsofEnterpriseEditiondatabases.Incrementalbackupsbackuponlytheblocksmodifiedsincethelastbackupofadatafile,tablespace,ordatabase;thus,they’resmallerandfasterthancompletebackups.RMANcanalsoperformpoint-in-timerecovery,whichallowstherecoveryofdatauntiljustpriortoaundesirableevent(suchasthemistakendroppingofatable).附加备份和恢复RMAN能够执行企业版数据库的附加备份。附加备份仅备份上一次备份后改变了的数据文件、桌面空间或数据库块;因此,它比完整的备份占用时间短而且速度快。RMAN也能执行及时指向的恢复,这种恢复能在一个不期望的事件发生之前(如错误的删除表格)恢复数据。11.3DatabaseManagementFeaturesofOracleLegatoStorageManagerVariousmedia-managementsoftwarevendorssupportRMAN.OraclebundlesLegatoStorageManagerwithOracletoprovidemedia-managementservices,includingthetrackingoftapevolumes,foruptofourdevices.RMANinterfacesautomaticallywiththemedia-managementsoftwaretorequestthemountingoftapesasneededforbackupandrecoveryoperations.连续存储管理者许多媒体管理软件商支持RMAN。Oracle捆绑了连续存储管理者来提供媒体管理服务,包括为至多四台设备提供磁带容量跟踪的服务。RMAN界面自动地与媒体管理软件一起来管理备份和恢复操作必需的磁带设备。11.3DatabaseManagementFeaturesofOracleAvailabilityWhilebasicrecoveryfacilitiesareavailableforbothOracleStandardEditionandEnterpriseEdition,incrementalbackupshavetypicallybeenlimitedtoEnterpriseEdition.可用性尽管标准版和企业版的Oracle都有基本的恢复机制,但附加备份仅限于企业版。11.3DatabaseManagementFeaturesofOracle英文论文引言的写作技巧

1引言的内容与结构布局引言的主要任务是向读者勾勒出全文的基本内容和轮廓。它可以包括以下五项内容中的全部或其中几项:介绍某研究领域的背景、意义、发展状况、目前的水平等;对相关领域的文献进行回顾和综述,包括前人的研究成果,已经解决的问题,并适当加以评价或比较;指出前人尚未解决的问题,留下的技术空白,也可以提出新问题、解决这些新问题的新方法、新思路,从而引出自己研究课题的动机与意义;说明自己研究课题的目的;概括论文的主要内容,或勾勒其大体轮廓。英文论文引言的写作技巧

我们可以将引言的内容分为三到四个层次来安排:第一层由研究背景、意义、发展状况等内容组成,其中还包括某一研究领域的文献综述;1)Introducingthegeneralresearchareaincludingitsbackground,importance,andpresentlevelofdevelopment2)Reviewingpreviousresearchinthisarea第二层提出目前尚未解决的问题或急需解决的问题,从而引出自己的研究动机与意义;Indicatingtheproblemthathasnotbeensolvedbypreviousresearch,raisingarelevantquestion第三层说明自己研究的具体目的与内容;Specifyingthepurposeofyourresearch最后是引言的结尾,可以介绍一下论文的组成部分。英文论文引言的写作技巧

2如何写引言的开头引言开头(即第一层)最主要目的是告诉读者论文所涉及的研究领域及其意义是什么,研究要解决什么问题,目前状况或水平如何。也就是说,开头要回答如下问题:Whatisthesubjectoftheresearch?Whatistheimportanceofthissubject?Howistheresearchgoingatpresent?Inwhatwayisitimportant,interesting,andworthstudying?Whatproblemdoestheresearchsolve?英文论文引言的写作技巧

引言的开头常用句型有:句型1:研究主题+谓语动词be…

例:Fuelcell(燃料电池)isatechnologyforthecleanandefficientconversionfromchemicalenergyinfossilfuelstoelectricity.句型2:研究主题+hasbecome…

例:Semiconductorbasedindustry(基于半导体的工业)hasbecomethelargest

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论