资源描述:
《数据库系统概念课件.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter1:IntroductionChapter1:IntroductionPurposeofDatabaseSystemsViewofDataDatabaseLanguagesRelationalDatabasesDatabaseDesignObject-basedandsemistructureddatabasesDataStorageandQueryingTransactionManagementDatabaseArchitectureDatabaseUsersandAdministratorsOverallStruct
2、ureHistoryofDatabaseSystemsDatabaseManagementSystem(DBMS)DBMScontainsinformationaboutaparticularenterpriseCollectionofinterrelateddataSetofprogramstoaccessthedataAnenvironmentthatisbothconvenientandefficienttouseDatabaseApplications:Banking:alltransactionsAirlines:reser
3、vations,schedulesUniversities:registration,gradesSales:customers,products,purchasesOnlineretailers:ordertracking,customizedrecommendationsManufacturing:production,inventory,orders,supplychainHumanresources:employeerecords,salaries,taxdeductionsDatabasestouchallaspectsof
4、ourlivesPurposeofDatabaseSystemsIntheearlydays,databaseapplicationswerebuiltdirectlyontopoffilesystemsDrawbacksofusingfilesystemstostoredata:DataredundancyandinconsistencyMultiplefileformats,duplicationofinformationindifferentfilesDifficultyinaccessingdataNeedtowriteane
5、wprogramtocarryouteachnewtaskDataisolation—multiplefilesandformatsIntegrityproblemsIntegrityconstraints(e.g.accountbalance>0)become“buried”inprogramcoderatherthanbeingstatedexplicitlyHardtoaddnewconstraintsorchangeexistingonesPurposeofDatabaseSystems(Cont.)Drawbacksofus
6、ingfilesystems(cont.)AtomicityofupdatesFailuresmayleavedatabaseinaninconsistentstatewithpartialupdatescarriedoutExample:TransferoffundsfromoneaccounttoanothershouldeithercompleteornothappenatallConcurrentaccessbymultipleusersConcurrentaccessedneededforperformanceUncontr
7、olledconcurrentaccessescanleadtoinconsistenciesExample:TwopeoplereadingabalanceandupdatingitatthesametimeSecurityproblemsHardtoprovideuseraccesstosome,butnotall,dataDatabasesystemsoffersolutionstoalltheaboveproblemsLevelsofAbstractionPhysicallevel:describeshowarecord(e.
8、g.,customer)isstored.Logicallevel:describesdatastoredindatabase,andtherelationshipsamongthedata.typecustomer=r