您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 公司方案 > 1-introduction-to-database.
2021/3/28DatabaseSystem1IntroductiontoDatabases—Chapter1—LiweiWangInternationalSchoolofSoftwareliwei.wang@whu.edu.cn2021/3/28DatabaseSystem2ObjectivesSomecommonusesofdatabasesystems.Characteristicsoffile-basedsystems.Problemswithfile-basedapproach.Meaningofthetermdatabase.MeaningofthetermDatabaseManagementSystem(DBMS).2021/3/28DatabaseSystem3ObjectivesTypicalfunctionsofaDBMS.MajorcomponentsoftheDBMSenvironment.PersonnelinvolvedintheDBMSenvironment.HistoryofthedevelopmentofDBMSs.AdvantagesanddisadvantagesofDBMSs.2021/3/28DatabaseSystem4AgendaExamplesofDatabaseApplicationsFile-basedSystemsDatabaseApproachDatabaseUsersHistoryofDatabaseSystemsAdvantagesandDisadvantagesofDBMSSimpleStructureofaDBMS2021/3/28DatabaseSystem5ExamplesofDatabaseApplicationsPurchasesfromthesupermarketPurchasesusingyourcreditcardBookingaholidayatthetravelagentsUsingthelocallibraryTakingoutinsuranceUsingtheInternetStudyingatuniversity2021/3/28DatabaseSystem6DiscussionIdentifysomefurtherexamplesofdatabasesystems2021/3/28DatabaseSystem7AgendaExamplesofDatabaseApplicationsFile-basedSystemsDatabaseApproachDatabaseUsersHistoryofDatabaseSystemsAdvantagesandDisadvantagesofDBMSSimpleStructureofaDBMS2021/3/28DatabaseSystem8File-basedSystemsCollectionofapplicationprogramsthatperformservicesfortheendusers(e.g.reports).Eachprogramdefinesandmanagesitsowndata.2021/3/28DatabaseSystem9File-basedProcessing2021/3/28DatabaseSystem10LimitationsofFile-basedApproachSeparationandisolationofdataEachprogrammaintainsitsownsetofdata.Usersofoneprogrammaybeunawareofpotentiallyusefuldataheldbyotherprograms.DuplicationofdataSamedataisheldbydifferentprograms.Wastedspaceandpotentiallydifferentvaluesand/ordifferentformatsforthesameitem.2021/3/28DatabaseSystem11LimitationsofFile-basedApproachDatadependenceFilestructureisdefinedintheprogramcode.IncompatiblefileformatsProgramsarewrittenindifferentlanguages,andsocannoteasilyaccesseachothersfiles.FixedQueries/ProliferationofapplicationprogramsProgramsarewrittentosatisfyparticularfunctions.Anynewrequirementneedsanewprogram.2021/3/28DatabaseSystem12QuestionDescribetheapproachtakentothehandlingofdataintheearlyfile-basedsystems.Discussthedisadvantagesofthisapproach.2021/3/28DatabaseSystem13AgendaExamplesofDatabaseApplicationsFile-basedSystemsDatabaseApproachDatabaseUsersHistoryofDatabaseSystemsAdvantagesandDisadvantagesofDBMSSimpleStructureofaDBMS2021/3/28DatabaseSystem14DatabaseApproachArosebecause:Definitionofdatawasembeddedinapplicationprograms,ratherthanbeingstoredseparatelyandindependently.Nocontroloveraccessandmanipulationofdatabeyondthatimposedbyapplicationprograms.ResultthedatabaseandDatabaseManagementSystem(DBMS).2021/3/28DatabaseSystem15DatabaseSharedcollectionoflogicallyrelateddata,andadescriptionofthisdata,designedtomeettheinformationneedsofanorganization.Systemcatalog(metadata)providesdescriptionofdatatoenableprogram–dataindependence.Logicallyrelateddatacomprisesentities,attributes,andrelationshipsofanorganization'sinformation.Entities:adistinctobjectintheorganizationAttributes:asomeaspectpropertyoftheobjectRelationships:anassociationbetweenentities.2021/3/28DatabaseSystem16DatabaseAdvantageofthisapproachDataabstractionseparatesthestructureofthedatafromtheapplicationprogramsandstoresitinthedatabase.Ifnewdatastructureareaddedorexistingstructuresaremodifiedthentheapplicationprogramsareunaffected,providedtheydonotdirectlydependuponwhathasbeenmodified.2021/3/28DatabaseSystem17DatabaseManagementSystem(DBMS)DBMSAsoftwaresystemthatenablesuserstodefine,create,andmaintainthedatabaseandwhichprovidescontrolledaccesstothisdatabase.2021/3/28DatabaseSystem18DBMS-FunctionsDatadefinitionlanguage(DDL).Permitsspecificationofdatatypes,structuresandanydataconstraints.Allspecificationsarestoredinthedatabase.Datamanipulationlanguage(DML).Generalenquiryfacility(querylanguage)ofthedata.2021/3/28DatabaseSystem19DBMS-FunctionsControlledaccesstodatabasemayinclude:Asecuritysystem.Anintegritysystem.Aconcurrencycontrolsystem.Arecoverycontrolsystem.Auser-accessiblecatalog.2021/3/28DatabaseSystem20DatabaseApplicationProgramsacomputerprogramthatinteractswithdatabasebyissuinganappropriaterequest(SQLstatement)totheDBMS.CanbeconventionalbatchapplicationsoronlineapplicationsTheapplicationprogramsmaybewritteninsomeprogramminglanguageorinsomehigher-levellanguage.2021/3/28DatabaseSystem21DatabaseSystemAsoftwaresystemtostore,access,modify,manageandmanipulatedatatosupporttheoperationsofaspecificorganizationoraspecificsetofapplicationsIncludes:AnapplicationspecificdatabaseADBMSthatmaintainsthedatabaseTheapplicationprogramthatmanipulatesthedatabase2021/3/28DatabaseSystem22DatabaseProcessingFourelementsUserAnapplicationspecificdatabaseDBMS:maintainsthedatabaseTheapplicationprogram:manipulatesthedatabaseandfinishesenterprisetransactions2021/3/28DatabaseSystem23DatabaseProcessing2021/3/28DatabaseSystem24QuestionDescribethemaincharacteristicsofthedatabaseapproachandcontrast
本文标题:1-introduction-to-database.
链接地址:https://www.777doc.com/doc-7884796 .html