欢迎来到天天文库
浏览记录
ID:52508123
大小:319.06 KB
页数:33页
时间:2020-04-09
《数据库作业答案-ch.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter1:IntroductionPurposeofDatabaseSystemsViewofDataDataModelsDataDefinitionLanguageDataManipulationLanguageTransactionManagementStorageManagementDatabaseAdministratorDatabaseUsersOverallSystemStructure1.1DatabaseSystemApplicationsDatabaseSystemCollectionofinterrelateddataAdatabasecontainsin
2、formationaboutaparticularenterpriseSetofprogramstoaccessthedataDBMSprovidesanenvironmentthatisbothconvenientandefficienttouse.DatabaseApplications:Banking:alltransactionsAirlines:reservations,schedulesUniversities:registration,gradesSales:customers,products,purchasesManufacturing:production,inv
3、entory,orders,supplychainHumanresources:employeerecords,salaries,taxdeductionsDatabasestouchallaspectsofourlives1.2DatabaseSystemsversusFileSystemsPurposeofDatabaseSystemIntheearlydays,databaseapplicationswerebuiltontopoffilesystemsDrawbacksofusingfilesystemstostoredata:Dataredundancyandincons
4、istencyMultiplefileformats,duplicationofinformationindifferentfilesDifficultyinaccessingdataNeedtowriteanewprogramtocarryouteachnewtaskDataisolation—multiplefilesandformatsIntegrityproblemsIntegrityconstraints(e.g.accountbalance>0)becomepartofprogramcodeHardtoaddnewconstraintsorchangeexistingon
5、esPurposeofDatabaseSystems(Cont.)Drawbacksofusingfilesystems(cont.)AtomicityofupdatesFailuresmayleavedatabaseinaninconsistentstatewithpartialupdatescarriedoutE.g.transferoffundsfromoneaccounttoanothershouldeithercompleteornothappenatallConcurrentaccessbymultipleusersConcurrentaccessedneededforp
6、erformanceUncontrolledconcurrentaccessescanleadtoinconsistenciesE.g.twopeoplereadingabalanceandupdatingitatthesametimeSecurityproblemsDatabasesystemsoffersolutionstoalltheaboveproblems1.3ViewofDataLevelsofAbstractionPhysicalleveldescribeshowarecord(e.g.,customer)isstored.Logicalleveldescribesda
7、tastoredindatabase,andtherelationshipsamongthedata.typecustomer=recordname:string;street:string;city:integer;end;PhysicalDataIndependence–theabilitytomodifythephysicalschemawithoutchangingthelogicalschemaApplicationsdependonthel
此文档下载收益归作者所有