您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > ch1-additional info - 2012-spring (1)
©Silberschatz,KorthandSudarshan1.1DatabaseSystemConcepts-5thEdition,May23,2005PrinciplesofdatabasesystemsTextbook:DatabaseSystemConcepts(5thEdition)Instructor:SUNJianling(孙建伶)(Professor)Office:Yi-FuGongShangBuilding234(逸夫工商管理楼234)YuQuanCampus(玉泉校区)Email:sunjl@zju.edu.cnTel:87952700(O),13705818519(M)CourseTA:LIUChenghao(刘成昊)(PhDcandidate)Email:twinsken@gmail.comTel:13738194665©Silberschatz,KorthandSudarshan1.2DatabaseSystemConcepts-5thEdition,May23,2005PrinciplesofdatabasesystemsCourseGradingPolicy:Exercises&Quiz15%Lab&Project30%FinalExam55%(opentwo-pagenote)CourseURL:()验证码:2975©Silberschatz,KorthandSudarshan1.3DatabaseSystemConcepts-5thEdition,May23,2005DatabaseinComputerScienceAI、CAD&CG、Multimedia、e-commerence、NumericalAnalysis、SoftwareEngine、EmbeddedSystemC、C++、Java、DataStructure,AlgorithmComplier、Database、NetworkOperatingSystemComputerOrganization、ComputerArchitecture、AssembleCircuit,Digitalcircuit©Silberschatz,KorthandSudarshan1.5DatabaseSystemConcepts-5thEdition,May23,2005Chapter1:IntroductionPurposeofDatabaseSystemsViewofDataDatabaseLanguagesRelationalDatabasesDatabaseDesignObject-basedandsemistructureddatabasesDataStorageandQueryingTransactionManagementDatabaseArchitectureDatabaseUsersandAdministratorsOverallStructureHistoryofDatabaseSystems©Silberschatz,KorthandSudarshan1.6DatabaseSystemConcepts-5thEdition,May23,2005DatabaseManagementSystem(DBMS)DBMScontainsinformationaboutaparticularenterpriseCollectionofinterrelateddataSetofprogramstoaccessthedataAnenvironmentthatisbothconvenientandefficienttouseDatabaseApplications(数据库应用系统):Banking:alltransactionsAirlines:reservations,schedulesUniversities:registration,gradesSales:customers,products,purchasesOnlineretailers:ordertracking,customizedrecommendationsManufacturing:production,inventory,orders,supplychainHumanresources:employeerecords,salaries,taxdeductionsDatabasestouchallaspectsofourlives!©Silberschatz,KorthandSudarshan1.7DatabaseSystemConcepts-5thEdition,May23,2005PurposeofDatabaseSystemsIntheearlydays,databaseapplicationswerebuiltdirectlyontopoffilesystemsDrawbacksofusingfilesystemstostoredata:Dataredundancy(数据冗余)andinconsistency(不一致性)Multiplefileformats,duplicationofinformationindifferentfilesDataisolation(数据孤立)—multiplefilesandformatsDifficultyinaccessingdata(存取数据困难)NeedtowriteanewprogramtocarryouteachnewtaskIntegrityproblems(完整性问题)Integrityconstraints(e.g.accountbalance0)become“buried”inprogramcoderatherthanbeingstatedexplicitlyHardtoaddnewconstraintsorchangeexistingones©Silberschatz,KorthandSudarshan1.8DatabaseSystemConcepts-5thEdition,May23,2005PurposeofDatabaseSystems(Cont.)Drawbacksofusingfilesystems(cont.)Atomicityofupdates(Recovery)(更新的原子性,恢复)FailuresmayleavedatabaseinaninconsistentstatewithpartialupdatescarriedoutExample:TransferoffundsfromoneaccounttoanothershouldeithercompleteornothappenatallConcurrentaccess(并发存取)bymultipleusersConcurrentaccessedneededforperformanceUncontrolledconcurrentaccessescanleadtoinconsistencies–Example:TwopeoplereadingabalanceandupdatingitatthesametimeSecurityproblems(安全问题)Hardtoprovideuseraccesstosome,butnotall,dataDatabasesystemsoffersolutionstoalltheaboveproblems©Silberschatz,KorthandSudarshan1.9DatabaseSystemConcepts-5thEdition,May23,2005ViewofDataAnarchitectureforadatabasesystemview/logicalmappinglogical/physicalmapping©Silberschatz,KorthandSudarshan1.10DatabaseSystemConcepts-5thEdition,May23,2005ViewofDataPhysicallevel(物理层):describeshowarecord(e.g.,customer)isstored.Logicallevel(逻辑层):describesdatastoredindatabase,andtherelationshipsamongthedata.typecustomer=recordcustomer_id:string;customer_name:string;customer_street:string;customer_city:integer;end;Viewlevel(视图层):applicationprogramshidedetailsofdatatypes.Viewscanalsohideinformation(suchasanemployee’ssalary)forsecuritypurposes.©Silberschatz,KorthandSudarshan1.11DatabaseSystemConcepts-5thEdition,May23,2005InstancesandSchemas(实例和模式)SimilartotypesandvariablesinprogramminglanguagesSchema(模式)–thelogicalstructureofthedatabaseExample:Thedatabaseconsistsofinformationaboutasetofcustomersandaccountsandtherelationshipbetweenthem)AnalogoustotypeinformationofavariableinaprogramPhysicalschema(物理模式):databasedesignatthephysicallevelLogicalschema(逻辑模式):databasedesignatthelogicallevelInstance(实例)–theactualcontentofthedatabaseataparticularpointintimeAnalogoustothevalueofavariablePhysicalDataIndependence(物理数据独立性)–theabilitytomodifythephysicalschemawithoutchangingthelogicalschemaApplicationsdependonthelogicalschemaIngeneral,theinterfacesbetweenthevariouslevelsandcomponentsshouldbewelldefinedsothatchangesinsomepartsdonotseriouslyinfluenceothers.LogicalDataIndependence(逻辑数据独立性)–theabilitytomodifythelogicalschemawithoutchangingtheuserviewschema©Silberschatz,KorthandSudarshan1.12DatabaseSystemConcepts-5thEdition,May23,2005DataModels(数据模型)AcollectionoftoolsfordescribingData(数据)Datarelationships(联系)Datasemantics(语义)Datacon
本文标题:ch1-additional info - 2012-spring (1)
链接地址:https://www.777doc.com/doc-3670563 .html