【精品】it专业英语unit9 database(可编辑.ppt

上传人:1595****071 文档编号:71303857 上传时间:2023-02-02 格式:PPT 页数:65 大小:889KB
返回 下载 相关 举报
【精品】it专业英语unit9 database(可编辑.ppt_第1页
第1页 / 共65页
【精品】it专业英语unit9 database(可编辑.ppt_第2页
第2页 / 共65页
点击查看更多>>
资源描述

《【精品】it专业英语unit9 database(可编辑.ppt》由会员分享,可在线阅读,更多相关《【精品】it专业英语unit9 database(可编辑.ppt(65页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、IT专业英语UNIT9 DatabaseUNIT 9 DatabaseUNIT 9 DatabaseUNIT 9 Database9-1 Technical Part 9-1-1 DefinitionAdatabaseisalsocalledanelectronicdatabase,referringtoanycollectionofdata,orinformation,thatisspeciallyorganizedforrapidsearchandretrievalbyacomputer.Adatabasehasthefollowingimplicitproperties:UNIT 9 D

2、atabaseAdatabaseisalogicallycoherentcollectionofdatawithsomeinherentmeaning.Arandomassortmentofdatacannotbereferredtoasadatabase.Adatabaseisdesigned,built,andpopulatewithdataforaspecificpurpose.Ithasanintendedgroupofusersandsomepreconceivedapplicationsinwhichtheseusersareinterested.Adatabaserepresen

3、tssomeaspectoftherealworld,sometimescalledtheminiworld.Changestotheminiworldarereflectedinthedatabase.UNIT 9 DatabaseUNIT 9 DatabaseUNIT 9 Database2.BankingandFinanceBanking:forcustomerinformation,accounts,loans,andbankingtransactions.Creditcardtransactions:forpurchasesoncreditcardsandgenerationofmo

4、nthlystatements.Finance:forstoringinformationaboutholdings,sales,andpurchasesoffinancialinstrumentssuchasstocksandbonds;alsoforstoringreal-timemarketdatatoenableonlinetradingbycustomersandautomatedtradingbythefirm.UNIT 9 Database3.Universities:forstudentinformation,courseregistrations,andgrades(inad

5、ditiontostandardenterpriseinformationsuchashumanresourcesandaccounting).4.Airlines:forreservationsandscheduleinformation.Airlineswereamongthefirsttousedatabasesinageographicallydistributedmanner.UNIT 9 Database5.Telecommunication:forkeepingrecordsofcallsmade,generatingmonthlybills,maintainingbalance

6、sonprepaidcallingcards,andstoringinformationaboutthecommunicationnetworks.Asthelistillustrates,databasesformanessentialpartofeveryenterprisetoday,storingnotonlytypesofinformationthatarecommontomostenterprises,butalsoinformationthatisspecifictothecategoryoftheenterprise.UNIT 9 DatabaseData ModelsUnde

7、rlyingthestructureofadatabaseisthedatamodel:acollectionofconceptualtoolsfordescribingdata,datarelationships,datasemantics,andconsistencyconstraints.Adatamodelprovidesawaytodescribethedesignofadatabaseatthephysical,logical,andviewlevels.Thereareanumberofdifferentdatamodels.Thedatamodelscanbeclassifie

8、dintofollowingcategories:UNIT 9 Database1.RelationalModelTherelationalmodelusesacollectionoftablestorepresentbothdataandtherelationshipsamongthosedata.Eachtablehasmultiplecolumns,andeachcolumnhasauniquename.Tablesarealsoknownasrelations.Therelationalmodelisanexampleofarecord-basedmodel.Record-basedm

9、odelsaresonamedbecausethedatabaseisstructuredinfixed-formatrecordsofseveraltypes.Eachtablecontainsrecordsofaparticulartype.Eachrecordtypedefinesafixednumberoffields,orattributes.Thecolumnsofthetablecorrespondtotheattributesoftherecordtype.Therelationaldatamodelisthemostwidelyuseddatamodel,andavastma

10、jorityofcurrentdatabasesystemsarebasedontherelationalmodel.UNIT 9 Database2.Entity-RelationshipModelTheentity-relationship(E-R)datamodelusesacollectionofbasicobjects,calledentities,andrelationshipsamongtheseobjects.Anentityisa“thing”or“object”intherealworldthatisdistinguishablefromotherobjects.Theen

11、tity-relationshipmodeliswidelyusedindatabasedesign.UNIT 9 Database3.Object-BasedDataModelObject-orientedprogramming(especiallyinJava,C+,orC#)hasbecomethedominantsoftware-developmentmethodology.Thisledtothedevelopmentofanobject-orienteddatamodelthatcanbeseenasextendingtheE-Rmodelwithnotionsofencapsul

12、ation,methods(functions),andobjectidentity.Theobject-relationaldatamodelcombinesfeaturesoftheobject-orienteddatamodelandrelationaldatamodel.UNIT 9 Database4.SemistructuredDataModelThesemistructureddatamodelpermitsthespecificationofdatawhereindividualdataitemsofthesametypemayhavedifferentsetsofattrib

13、utes.Thisisincontrasttothedatamodelsmentionedearlier,whereeverydataitemofaparticulartypemusthavethesamesetofattributes.TheExtensibleMarkupLanguage(XML)iswidelyusedtorepresentsemistructureddata.UNIT 9 Database5.XMLDatabaseAnXMLdatabaseisadatapersistencesoftwaresystemthatallowsdatatobestoredinXMLforma

14、t.Thisdatacanthenbequeried,exportedandserializedintothedesiredformat.XMLdatabasesareusuallyassociatedwithdocument-orienteddatabases.OConnellgivesonereasonfortheuseofXMLindatabases:theincreasinglycommonuseofXMLfordatatransport,whichhasmeantthat“dataisextractedfromdatabasesandputintoXMLdocumentsandvic

15、e-versa”.Itmayprovemoreefficient(intermsofconversioncosts)andeasiertostorethedatainXMLformat.UNIT 9 DatabaseTwomajorclassesofXMLdatabaseexist:XML-enabled:thesemapallXMLtoatraditionaldatabase(suchasarelationaldatabase),acceptingXMLasinputandrenderingXMLasoutput.Thistermimpliesthatthedatabasedoestheco

16、nversionitself(asopposedtorelyingonmiddleware).NativeXML(NXD):theinternalmodelofsuchdatabasesdependsonXMLandusesXMLdocumentsasthefundamentalunitofstorage,whichare,however,notnecessarilystoredintheformoftextfiles.UNIT 9 Database6.MultimediaDatabaseMultimediadatatypicallymeansdigitalimages,audio,video

17、,animationandgraphicstogetherwithtextdata.Theacquisition,generation,storageandprocessingofmultimediadataincomputersandtransmissionovernetworkshavegrowntremendouslyintherecentpast.UNIT 9 DatabaseThehugeamountofdataindifferentmultimedia-relatedapplicationswarrantedtohavedatabasesasdatabasesprovidecons

18、istency,concurrency,integrity,securityandavailabilityofdata.Fromanuserperspective,databasesprovidefunctionalitiesfortheeasymanipulation,queryandretrievalofhighlyrelevantinformationfromhugecollectionsofstoreddata.UNIT 9 DatabaseMultiMediaDatabases(MMDBs)havetocopeupwiththeincreasedusageofalargevolume

19、ofmultimediadatabeingusedinvarioussoftwareapplications.Theapplicationsincludedigitallibraries,manufacturingandretailing,artandentertainment,journalismandsoon.Someinherentqualitiesofmultimediadatahavebothdirectandindirectinfluenceonthedesignanddevelopmentofamultimediadatabase.UNIT 9 DatabaseMMDBsares

20、upposedtoprovidealmostallthefunctionalities,atraditionaldatabaseprovides.Apartfromthose,aMMDBhastoprovidesomenewandenhancedfunctionalitiesandfeatures.MMDBsarerequiredtoprovideunifiedframeworksforstoring,processing,retrieving,transmittingandpresentingavarietyofmediadatatypesinawidevarietyofformats.At

21、thesametime,theymustadheretonumericalconstraintsthatarenormallynotfoundintraditionaldatabases.UNIT 9 DatabaseConcept of DBMSAdatabasemanagementsystem(DBMS)isasoftwarepackagewithcomputerprogramsthatcontrolsthecreation,maintenance,anduseofadatabase.Itallowsorganizationstoconvenientlydevelopdatabasesfo

22、rvariousapplications.Adatabaseisanintegratedcollectionofdatarecords,files,andotherobjects.ADBMSallowsdifferentuserapplicationprogramstoconcurrentlyaccessthesamedatabase.DBMSsmayuseavarietyofdatabasemodels,suchastherelationalmodelorobjectmodel,toconvenientlydescribeandsupportapplications.UNIT 9 Datab

23、aseIttypicallysupportsquerylanguages,whichareinfacthigh-levelprogramminglanguages,dedicateddatabaselanguagesthatconsiderablysimplifywritingdatabaseapplicationprograms.Databaselanguagesalsosimplifythedatabaseorganizationaswellasretrievingandpresentinginformationfromit.ADBMSprovidesfacilitiesforcontro

24、llingdataaccess,enforcingdataintegrity,managingconcurrencycontrol,andrecoveringthedatabaseafterfailuresandrestoringitfrombackupfiles,aswellasmaintainingdatabasesecurity.UNIT 9 Database9-1-3 Application Case or ExampleSQL Server MonitorMicrosoftSQLServerisarelationaldatabase-managementsystemthatscale

25、sfromlaptopsanddesktopstoenterpriseservers,withacompatibleversion,basedontheWindowsMobileoperatingsystem,availableforhandhelddevicessuchasPocketPCs,SmartPhones,andPortableMediaCenters.UNIT 9 DatabaseSQLServerprovidesasuiteoftoolsformanagingallaspectsofSQLServerdevelopment,querying,tuning,testing,and

26、administration.MostofthesetoolscenteraroundtheSQLServerManagementStudio.SQLServerManagementStudioprovidesacommonshellforadministeringallservicesassociatedwithSQLServer,whichincludesDatabaseEngine,AnalysisServices,ReportingServices,SQLServerMobile,andIntegrationServices.UNIT 9 DatabaseSQL(StructuredQ

27、ueryLanguage,referredtoassequelorbythelettersS-Q-L)isalanguagethatgivesusersaninterfacetoarelationaldatabasewheretheycanfindandprocessdatastoredwithin.Atthepresenttime,itisthemostwidelyuseddatabaselanguage.UNIT 9 DatabaseInthedatabase,informationisstoredintablesthataremadeupofmanycolumnsandrows.Each

28、columnhandlesaspecifictypeofinformation,andeachrowrepresentsarecordenteredintothetable.Arowmayrepresentacustomer,andeachcolumnmaycontainspecificsaboutthatcustomer.UNIT 9 DatabaseMicrosoftSQLServerisapackagedbrandofSQLthatmanycompaniesuseanddependonfortheirdailyoperation.WhenacompanyinstallsSQLServer

29、,itisusuallyusedforseveralpurposes,withtheserveradministratorcreatingadatabaseforeachuse.FormoreinformationaboutMicrosoftSQLServer,visitM:UNIT 9 Databasehttp:/ 9 DatabaseNomatterwhichversionofSQLServeryouuse,youshouldalwaysbeconcernedwithitsproperfunctionandconstantavailability.Withoutit,theinformat

30、ioninthedatabasecannotberetrievedandmanyofyourapplicationsthatrelyonthedatabasewillsimplynotwork.UsinganetworkmonitoringtoollikeWhatsUpGoldPremiumEditionyoucankeepaconstantwatchoverspecificitemsorparametersinyourSQLserver.Thefollowingsectiondescribestheapplicationandhowyoucanuseittomonitoryourdataba

31、ses.UNIT 9 DatabaseMonitoring SQL Server WhatsUpGoldStandardandPremiumEditionscanmonitorandreportthestatusofthestandardservicesassociatedwithstandardTCP/IPservers,suchasSMTP,POP3,andIMAP,FTP,HTTP.Ifanyoftheseservicesfail,youruserswillbeunabletogetmail,transferfiles,orusetheweb.Itisagoodideatosetupmo

32、nitoringontheseservicessothatyouarethefirsttoknowiftheyfail.UNIT 9 DatabaseTheSQLServerMonitorextendsmonitoringtoparametersreportedbyMicrosoftSQLServer(andMicrosoftMSDE),allowingyoutogetanearlywarningofadegradationinperformance.Forexample,youcanmonitorsystemparametersonyourSQLServerdatabaseservertos

33、eeifperformanceiswithinanexpectedrange,andifnot,youcanintervenebeforetheSQLServerfails.Inotherwords,youcandetectaloomingproblembeforeitcausesanapplicationorservicefailure.TheSQLServerMonitorsupportsmonitoringofMicrosoftSQLServer2000orlaterversions,andMSDE2000orlaterversions,whichcanbeonanymachineiny

34、ournetwork.UNIT 9 DatabaseGetting Started With the SQL Monitor BeforeconfigureuringyourSQLmonitor(s),youshoulddeterminewhichparametersandservicesyouneedtomonitor.Youshouldalsoconsiderwhetheryouwanttocreateasinglemonitorwithmultipleparameters,severalmonitorswithoneparameterorservice,oracombinationoft

35、hetwo.Ifyoucreateasinglemonitortowatchalloftheparameters,youwillnotknowwhichparameterhastheproblemuntilyoudoalittleresearch.Thereismoresetuptimewiththeotheroptions,butthetroubleshootingtimeisgreatlyreduced.UNIT 9 DatabaseNote:Tousesomeoftheparameters,youmustconfigureyourSystemDataSource(ODB)namefort

36、heSQLServer.ThisisdoneintheWindowsDataSources(ODB)Administrator.Duringthecreationofyourmonitors,youalsoassignthealertsandactionsyouwantWhatsUptofirewhenoneofthemonitorsgoesdown.UNIT 9 DatabaseUNIT 9 DatabaseConfiguring a SQL Monitor ToconfigureaninstanceoftheSQLServerMonitor,youmustfirsthaveWhatsUpG

37、oldPremiumEditioninstalled.Then:1.FromtheConfiguremenu,selectActiveMonitorLibrary.2.TheActiveMonitorLibraryisthestartingpointforcreatinganyActiveMonitorinWhatsUpGold.ThisdialogshowsalloftheActiveMonitorsinyourdatabase.UNIT 9 Database3.AddanSQLmonitor:ClickNew.TheSelectActiveMonitorTypedialogappears.

38、SelectSQLServiceMonitorandclickOK.TheNewSQLServiceMonitor(SeeFigure9-1)dialogappears.UNIT 9 Database4.Selecttheparametersandorprocessestoaddtothemonitor.OncetheActiveMonitoriscreated,youcanassignthatmonitortothedevicerepresentingthecomputerrunningtheSQLServer.Youmayalsousethemonitorduringdevicedisco

39、very.UNIT 9 DatabaseFigure9-1NewSQLServerMonitorUNIT 9 DatabaseAn ExampleTomonitoruseractivity,wellcreateamonitorcalled“SQLUser,”thenselectUsersastheonlyparametertomonitor.1.AccesstheSQLServerMonitorpropertiesasdescribedinthesectionabove.2.Namethemonitor“SQLUser.”UNIT 9 Database3.MakesurethatUsersis

40、theonlyparameterthathasacheckintheboxtothelefttoit.Youwillneedtocleartheselectionsfortheotherparametersandalsofortheprocesses.4.ClicktheUsersparametertoselectit,andthenclickConfigure.TheUsersThresholddialogappears.Youshouldhaveinmindhowmanyusersorconnectionsyouwanttoconsiderasathreshold,andenterthos

41、evaluesintheappropriateboxesonthedialog.UNIT 9 Database5.Whenfinished,clickOKtoaddtheSQLUsermonitortotheActiveMonitorLibrary.Oncethemonitorhasbeencreated,youarereadytoaddthe“SQLUser”monitortoyourSQLserverdevice.1.SelectthedevicethatrepresentstheSQLserver.Double-clickthedevicetodisplayitsproperties.2

42、.SelecttheActiveMonitorsicon.3.OntheActiveMonitordialog,clickAdd.TheActiveMonitorwizardappears.4.Followthewizardtoaddtheactivemonitortothedevice.UNIT 9 Database9-2 Reading Material 9-2-1 Reading comprehensionApplication Programs and User InterfacesAlthoughmanypeopleinteractwithdatabases,veryfewpeopl

43、euseaquerylanguagetointeractwithadatabasesystemdirectly.Themostcommonwayinwhichusersinteractwithdatabasesisthroughanapplicationprogramthatprovidesauserinterfaceatthefrontend,andinterfaceswithadatabaseatthebackend.UNIT 9 DatabaseSuchapplicationstakeinputfromusers,typicallythroughaforms-basedinterface

44、,andeitherenterdataintoadatabaseorextractinformationfromadatabasebasedontheuserinput,andgenerateoutput,whichisdisplayedtotheuser.UNIT 9 DatabaseAsanexampleofanapplication,considerauniversityregistrationsystem.Likeothersuchapplications,theregistrationsystemfirstrequiresyoutoidentifyandauthenticateyou

45、rself,typicallybyausernameandpassword.Theapplicationthenusesyouridentitytoextractinformation,suchasyournameandthecoursesforwhichyouhaveregistered,fromthedatabaseanddisplaystheinformation.Theapplicationprovidesanumberofinterfacesthatletyouregisterforcoursesandqueryavarietyofotherinformationsuchascour

46、seandinstructorinformation.Organizationsusesuchapplicationstoautomateavarietyoftasks,suchassales,purchases,accountingandpayroll,human-resourcesmanagement,andinventorymanagement,amongmanyothers.UNIT 9 DatabaseApplicationprogramsmaybeusedevenwhenitisnotapparentthattheyarebeingused.Forexample,anewssite

47、mayprovideapagethatistransparentlycustomizedtoindividualusers,eveniftheuserdoesnotexplicitlyfillanyformswheninteractingwiththesite.Todoso,itactuallyrunsanapplicationprogramthatgeneratesacustomizedpageforeachuser;customizationcan,forexample,bebasedonthehistoryofarticlesbrowsedbytheuser.UNIT 9 Databas

48、eAtypicalapplicationprogramincludesafront-endcomponent,whichdealswiththeuserinterface,aback-endcomponent,whichcommunicateswithadatabase,andamiddlelayer,whichcontains“businesslogic,”thatis,codethatexecutesspecificrequestsforinformationorupdates,enforcingrulesofbusinesssuchaswhatactionsshouldbecarried

49、outtoexecuteagiventask,orwhocancarryoutwhattask.UNIT 9 DatabaseApplicationarchitectureshaveevolvedovertime,asillustratedinFigure9-2.Applicationssuchasairlinereservationshavebeenaroundsincethe1960s.Intheearlydaysofcomputerapplications,applicationsranonalarge“mainframe”computer,andusersinteractedwitht

50、heapplicationthroughterminals,someofwhichevensupportedforms.UNIT 9 DatabaseFigure9-2ApplicationarchitecturesindifferenterasUNIT 9 DatabaseWiththewidespreaduseofpersonalcomputers,manyorganizationsusedadifferentarchitectureforinternalapplications,withapplicationsrunningontheuserscomputer,andaccessinga

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 小学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁