数据库原理课件第一章.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《数据库原理课件第一章.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据库 原理 课件 第一章
- 资源描述:
-
1、nTan Chang-gengTan Chang-gengnSchool of Software,Central South University n TCG-CSU1.2Database Systems ReferenceslCMU SSD7 E-resourcelDatabase system concepts(5th ed.)by Silberschatz,Korth,Sudarshan,2005,Higher Education Press.ISBN 7-04-019245-4l数据库系统概念数据库系统概念(上书中译本)(上书中译本),原著:原著:Silberschatz,杨冬青译,机
2、械工业出版社,ISBN 7-111-19687-2lDatabase Systems A practical Approach to Design,Implementation,and Management(Thomas Connolly,Carolyn Begg,Person Education Inc.),ISBN 7-5053-8784-7nInstructor:Tan Changgeng.Email:cgtan163 QQ:327414529TCG-CSU1.4Database SystemsnCertificate in Computer ProgramminglCourses 1
3、through 5nCertificate in Software Systems DevelopmentlCourses 1 through 10SSD Curriculum OverviewTCG-CSU1.5Database Systems1:Introduction to Information Systems2:Introduction to Computer Systems3:Object Oriented Programming and Design5:Data Structuresand Algorithms6:System LevelProgramming10:Softwar
4、eProject Organizationand Management9:Software Specification,Testand Maintenance8:Networks and DistributedComputing4:User Centered Design and Testing7:Database SystemsTCG-CSU1.6Database Systemsn10 Course SequencenRooted in the expertise of Carnegie Mellon Universitys School of Computer SciencenApplie
5、d,industry-oriented skillsnSoftware Development DisciplinenCS trains scientists/researchersnFocus on TheorynHigher MathematicsnSoftware Developers are not researchersnApplied,industry oriented skillsnFocus on foundational skillsTCG-CSU1.7Database SystemslBecome familiar with fundamental DBMS concept
6、s and what a database system is lLearn to use SQL(structured query language)lLearn to design database systemslLearn to design and manage transaction(事务)lLearn to improve query performancelGain exposure to future trends in databases TCG-CSU1.8Database SystemsStudents successfully completing SSD7 will
7、 be able to PRODUCE(contd)lDatabase designs that support a given applicationlData models using E-R diagrams lSound schema designs using normalization(使用规范化方法设计出合理的模式)lWeb-based database applications using SQL and JSP/Servlets TCG-CSU1.9Database SystemsStudents successfully completing SSD7 will be ab
8、le to USElIndex structures of a DBMS to improve performance lThe transaction features of a DBMS to achieve fault recovery(故障恢复)and concurrency control(并发控制)lKey relational operations to manipulate data(操纵数据)lSQL DDL to model data,constraints,and views(视图)lSQL DML to write complex queries TCG-CSU1.10
9、Database SystemsStudents will be able to knowledgeably DISCUSSlThe basic concepts of object-relational and object-oriented database management systems lThe basic concepts and application of data warehousing and data mining(datacubes,OLAP)lThe basic functions and application of multimedia databases l
10、The basic issues of database privacy and security lThe DBMS offerings of the most important vendors TCG-CSU1.11Database SystemsDatabaseProgDistributed SysOSUIData Struct&Algorithms数据库的地位数据库的地位TCG-CSU1.12Database SystemsnIntroductionnRelational ModelnSQLnEntity-Relationship ModelnRelational-Database
11、DesignnTransactionsnConcurrency Control nRecovery System(Integrity and Security)nDatabase System ArchitecturesnTCG-CSU1.13Database SystemsnPurpose of Database SystemsnView of DatanDatabase LanguagesnRelational DatabasesnDatabase DesignnObject-based and semistructured databasesnData Storage and Query
12、ingnTransaction ManagementnDatabase ArchitecturenDatabase Users and AdministratorsnOverall StructurenHistory of Database SystemsTCG-CSU1.14Database SystemsnDBMS contains information about a particular enterpriselCollection of interrelated datalSet of programs to access the data lAn environment that
13、is both convenient and efficient to usenDatabase Applications?lBanking:all transactionslAirlines:reservations,scheduleslUniversities:registration,gradeslSales:customers,products,purchaseslOnline retailers:order tracking,customized recommendationslManufacturing:production,inventory,orders,supply chai
14、nlHuman resources:employee records,salaries,tax deductions TCG-CSU1.15Database SystemsnPurchases using your credit card 信用卡lA credit card database lThe checkout assistantlA credit card readerlCheck your creditlAdd the purchases to databaselMonthly statements to each cardholderTCG-CSU1.16Database Sys
15、temsnIn the early days,database applications were built directly on top of file systemsnDrawbacks of using file systems to store data?TCG-CSU1.17Database SystemsnLimitations of the File-Based ApproachlData redundancy and inconsistency数据冗余与非一致性4Multiple file formats,duplication of information in diff
16、erent files4文件格式不相容,数据冗余lProgram-data dependence 程序依赖于数据4Need to write a new program to carry out each new tasklData isolation multiple files and formats4数据孤立;文件格式不相容lIntegrity problems完整性问题4Integrity constraints (e.g.account balance 0)become“buried”in program code rather than being stated explicitl
17、y4Hard to add new constraints or change existing onesTCG-CSU1.18Database SystemsnDrawbacks of using file systems(cont.)lAtomicity of updates原子更新原子更新4Failures may leave database in an inconsistent state with partial updates carried out4Example:Transfer of funds from one account to another should eith
18、er complete or not happen at alllConcurrent access by multiple users并发访问并发访问4Concurrent accessed needed for performance4Uncontrolled concurrent accesses can lead to inconsistencies Example:Two people reading a balance and updating it at the same time(sell ticket)lSecurity problems4Hard to provide us
19、er access to some,but not all,datanDatabase systems offer solutions to all the above problemsTCG-CSU1.19Database SystemsnData:data are raw facts that describe people,objects,and events nDatabase:An integrated collection of related data constitutes a Database(DB).相关数据 集成lrelated data,the data represe
20、nts logically coherent facts about some aspects of the real world that are required by an application.lIntegrated,the data for multiple applications is stored together and manipulated in a uniform way on a secondary storage such as a magnetic or an optical disk.TCG-CSU1.20Database SystemsnA Database
21、 Management System(DBMS)is a collection of programs that controls a database.lGeneral-purpose software system lData Definition Language(DDL)lData Manipulation Language(DML)lControlled access to the database4 a security system(authorized users)安全性4 an integrity system(consistency of stored data)完整性4
22、a concurrency control system(shared access)并发控制4 a recovery control system(when H/S failure)恢复4 a user-accessible catalog(descriptions of data)数据字典TCG-CSU1.21Database Systemsna Database System consists of lan application specific database 数据库lthe DBMS that maintains that database DBMSlthe applicatio
23、n software that manipulates the database 应用程序 数据库系统的个体含义是指一个具体的数据库管理系统软件和用它建立起来的数据库;它的学科含义是指研究、开发、建立、维护和应用数据库系统所涉及的理论、方法、技术所构成的学科。在这一含义下,数据库系统是软件研究领域的一个重要分支,常称为数据库领域。TCG-CSU1.22Database SystemsTCG-CSU1.23Database SystemsnDBMSs embody the three distinguishing characteristics of the database approach:
24、data abstraction,reliability,and efficiency.n数据抽象 可靠性 高效 TCG-CSU1.24Database SystemsnData Abstractionlprovide users with high-level,conceptual representations of the dataa table in relational DBMSs 提供高层、概念的数据表示lhide storage details that are not of interest to most database users 隐藏存储细节lprogram-data
25、independence 数据独立性TCG-CSU1.25Database SystemsnReliability.DBMSs provide high reliability lEnforcing integrity constraints 完整性约束4Integrity constraints reflect the meaning(or,the semantics)of the data and of the application lEnsuring data consistency despite hardware or software failures.数据一致性4Tansact
展开阅读全文