《数据库系统(英)(第三版)》全册配套精品完整课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《《数据库系统(英)(第三版)》全册配套精品完整课件.ppt》由用户(罗嗣辉)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据库系统英第三版 数据库 系统 第三 配套 精品 完整 课件
- 资源描述:
-
1、数据库系统(英)(第三版)全册配套精品完整课件Department of computer science & technologyDepartment of computer science & technology NJUST NJUSTDatabase Systems数据库系统数据库系统Database Systemsl 2.52.5学分上课、学分上课、 0.5 0.5学分上机学分上机 ,共,共3 3学分。学分。 l 学习目的:掌握数据库系统的基本概念、原理学习目的:掌握数据库系统的基本概念、原理和方法;学会有效地使用数据库管理系统,完和方法;学会有效地使用数据库管理系统,完成数据库的设
2、计和对数据库的编程。成数据库的设计和对数据库的编程。 l 学习方法:理论结合实践。学习方法:理论结合实践。 l 考核方式及要求:考核方式及要求:l作业(作业(2020):按时认真完成作业。):按时认真完成作业。l实验(实验(1010):完成上机实验并提交实验报):完成上机实验并提交实验报告。告。l闭卷考试(闭卷考试(7070):英文试卷。):英文试卷。Database SystemslReference booksReference booksJeffrey D.Ullman, Jennifer Widom. Jeffrey D.Ullman, Jennifer Widom. 数据库系统基础教
3、程数据库系统基础教程( (原书第原书第3 3版版). ). 岳丽华岳丽华等译等译. . 机械工业出版社机械工业出版社. 2009. 2009.Abraham Silberschatz, Henry F.Korth, Abraham Silberschatz, Henry F.Korth, S . S u d a r s h a n . D a t a b a s e S y s t e m S . S u d a r s h a n . D a t a b a s e S y s t e m Concepts (Fourth Edition). Concepts (Fourth Edition
4、). 机械工业机械工业出版社出版社. . http:/www-http:/www-db.stanford.edu/ullman/fcdb.htmldb.stanford.edu/ullman/fcdb.html1.1. The Worlds of Database SystemThe Worlds of Database System2.2. The Relational Model of DataThe Relational Model of Data3.3. * *Design Theory for Relational Design Theory for Relational Datab
5、asesDatabases4.4. High-Level Database ModelsHigh-Level Database Models5.5. Algebraic and Logical Query Algebraic and Logical Query Language Language 6.6. * *The Database Language SQLThe Database Language SQL7.7. Constraints and TriggersConstraints and Triggers8.8. Views and IndexesViews and Indexes9
6、.9. SQL in a Server EnvironmentSQL in a Server Environment10.10.Advanced topics in Relational Advanced topics in Relational DatabasesDatabasesA First Course in Database Systems1 The Worlds of Database SystemslThe Evolution of Database The Evolution of Database Systems Systems lOverview of a DBMS Ove
7、rview of a DBMS lOutline of Database-System Outline of Database-System StudiesStudies1.1 The Evolution of Database Systemsl Whats a database? Whats a database?In essence, a database is a In essence, a database is a collection of information that collection of information that exists over a long peri
8、od of exists over a long period of time, often many years.time, often many years.In common parlance(In common parlance(说法说法), a ), a database is a collection of database is a collection of data that is managed by a data that is managed by a database management system database management system (DBMS
9、).(DBMS).1.1 The Evolution of Database SystemslDatabase Applications:Database Applications:Banking: all transactions(Banking: all transactions(交易交易) )Airlines: reservations(Airlines: reservations(预定预定), ), schedules(schedules(航班表航班表) )Universities: registration, gradesUniversities: registration, gra
10、desSales: customers, products, ordersSales: customers, products, ordersManufacturing: production, Manufacturing: production, inventory(inventory(库存库存), orders, supply ), orders, supply chainchainHuman resources: employee records, Human resources: employee records, salaries, tax deductionssalaries, t
11、ax deductionsl Databases touch all aspects Databases touch all aspects of our lives.of our lives.1.1 The Evolution of Database Systemsl A DBMS is expected to:A DBMS is expected to:Data Definition Language (DDL): create Data Definition Language (DDL): create databases and specify their schema(databas
12、es and specify their schema(模模式式).). A schema is a group of A schema is a group of collections of sentences that are collections of sentences that are expressed by DDL to describe the expressed by DDL to describe the logical structure of the database logical structure of the database pletely.Data Qu
13、ery Language and Data Data Query Language and Data Manipulation Language: queryManipulation Language: query(查询)(查询) and and modifymodify(更新)(更新) the data based on the the data based on the schema of the database.schema of the database.Support the storage of very large Support the storage of very lar
14、ge amounts of data: many terabytes(1012 amounts of data: many terabytes(1012 bytes) or more, over a long period of bytes) or more, over a long period of time, allowing efficient access.time, allowing efficient access.1.1 The Evolution of Database SystemslA DBMS is expected to:A DBMS is expected to:E
15、nable durability(Enable durability(持久持久): the ): the recovery of the database in the recovery of the database in the face of failures(face of failures(故障故障), errors of ), errors of many kinds, or intentional misuse.many kinds, or intentional misuse.Support Data sharingSupport Data sharing(共享)(共享): :
16、 control access to data from many control access to data from many users at once; without allowing users at once; without allowing the action of one user to affect the action of one user to affect other users(isolation other users(isolation 隔离性隔离性); ); without actions on the data to be without actio
17、ns on the data to be performed partially but not performed partially but not completely(atomicity completely(atomicity 原子性原子性).).1.1 The Evolution of Database SystemslDatabase systems evolved from file Database systems evolved from file systems.systems. Data redundancy(Data redundancy(冗余冗余) and ) an
18、d inconsistencyinconsistencyMultiple file formats, duplication of Multiple file formats, duplication of information in different files.information in different files.Difficulty in accessing data Difficulty in accessing data Need to write a new program to carry out Need to write a new program to carr
19、y out each new task.each new task.1.1 The Evolution of Database SystemslDatabase systems evolved from file Database systems evolved from file systems.systems. Integrity(Integrity(完整性完整性) problems) problemsIntegrity constraints(Integrity constraints(约束约束) (e.g. ) (e.g. account balance 0) become “buri
20、ed(account balance 0) become “buried(埋埋入入)” in program code rather than being )” in program code rather than being stated explicitly(stated explicitly(明确地明确地).).Hard to add new constraints or change Hard to add new constraints or change existing ones.existing ones.Atomicity of updatesAtomicity of up
21、datesFailures(Failures(故障故障) may leave database in an ) may leave database in an inconsistent state with partial updates inconsistent state with partial updates carried out.carried out.Example: Transfer of funds(Example: Transfer of funds(资金资金) from one ) from one account to another should either co
22、mplete account to another should either complete or not happen at all.or not happen at all.1.1 The Evolution of Database SystemslDatabase systems evolved from file Database systems evolved from file systems.systems. Concurrent(Concurrent(并发并发) access by multiple ) access by multiple usersusersUncont
23、rolled concurrent accesses can lead Uncontrolled concurrent accesses can lead to inconsistencies.to inconsistencies.Example: Two people reading a balance and Example: Two people reading a balance and updating it at the same time.updating it at the same time.Security problemsSecurity problemsHard to
24、provide user access to some, but Hard to provide user access to some, but not all, data.not all, data.1.1 The Evolution of Database Systemsl Late 1960s and 1970s:Late 1960s and 1970s:Hard disks allow direct access to dataHard disks allow direct access to dataNetwork and hierarchical data models in N
25、etwork and hierarchical data models in widespread usewidespread useThe early DBMS didnt support high-level The early DBMS didnt support high-level query languages.query languages.1.1 The Evolution of Database Systemsl 1970:1970:Ted Codd defines the relational data modelTed Codd defines the relationa
展开阅读全文