欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

数据库系统概念第一章重要概念+习题+部分答案

程序员文章站 2024-03-15 18:07:18
...

截图来自数据库系统概念中文第六版

想要中文版和英文版的请留言!!!我会尽量及时回复!!!

数据库系统概念第一章重要概念+习题+部分答案数据库系统概念第一章重要概念+习题+部分答案

数据库系统体系结构

数据库系统概念第一章重要概念+习题+部分答案数据库系统概念第一章重要概念+习题+部分答案

实践习题和答案

数据库系统概念第一章重要概念+习题+部分答案

1.2

数据库系统概念第一章重要概念+习题+部分答案数据库系统概念第一章重要概念+习题+部分答案

1.3

数据库系统概念第一章重要概念+习题+部分答案

1.6

数据库系统概念第一章重要概念+习题+部分答案

习题

数据库系统概念第一章重要概念+习题+部分答案

1.13

Answer: A general purpose database-management system (DBMS) has five responsibilities:
a. interaction with the file manager.
b. integrity enforcement.
c. security enforcement.
d. backup and recovery.
e. concurrency control.
If these responsibilities were not met by a given DBMS (and the text points out that sometimes a responsibility is omitted by design, such as concurrency control on a single-user DBMS for a micro computer) the following problems can occur, respectively:
a. No DBMS can do without this, if there is no file manager interaction
then nothing stored in the files can be retrieved.
b. Consistency constraints may not be satisfied, for example an instructor may belong to a non-existent department, two students may have
the same ID, account balances could go below the minimum allowed,
and so on.
c. Unauthorized users may access the database, or users authorized to
access part of the database may be able to access parts of the database
for which they lack authority. For example, a low-level user could get
access to national defense secret codes, or employees could find out
what their supervisors earn (which is presumably a secret).
d. Data could be lost permanently, rather than at least being available
in a consistent state that existed prior to a failure.
e. Consistency constraints may be violated despite proper integrity enforcement in each transaction. For example, incorrect bank balances
might be reflected due to simultaneous withdrawals and deposits on
the same account, and so on.

补充思考

1.在文件处理系统中存储组织信息的主要弊端有哪些???

Data redundancy and inconsistency
Difficulty in accessing data.
Data isolation.
Integrity problems.
Atomicity problems.
Concurrent-access anomalies.
Security problems.

2.为了使得存储数据值满足一致性约束,数据库系统以哪些方式实现完整性约束?

(我没搞懂一致性约束和完整性约束的区别)

Domain Constraints
Referential Integrity
Assertions.
Authorization.

以下资料来源:

http://www.zybang.com/question/e23cf724ee5a0d00d2cba4f9ccb2d23b.html

https://zhidao.baidu.com/question/53409759.html

https://blog.csdn.net/luke_wang/article/details/53240215

一致性约束和完整性约束的区别

数据库系统概念第一章重要概念+习题+部分答案

数据库系统概念第一章重要概念+习题+部分答案

3.数据抽象的三层

数据库系统概念第一章重要概念+习题+部分答案

4.实例和模式

数据库系统概念第一章重要概念+习题+部分答案

5.数据模型

数据库系统概念第一章重要概念+习题+部分答案

6.元数据和数据字典

数据库系统概念第一章重要概念+习题+部分答案

7.存储管理器

数据库系统概念第一章重要概念+习题+部分答案

8.查询处理器

数据库系统概念第一章重要概念+习题+部分答案

9.事务和事务管理器

数据库系统概念第一章重要概念+习题+部分答案