(57)A.在员工表上定义插入和修改作的触发器
B.在员工表上定义一个函数 C.在员工表上定义一个视图 D.在员工表上定义一个索引
● 以下对数据转储的叙述中,不正确的是( )
(58)A.静态转储在转储期间不允许对数据库进行更新
B.动态转储在转储期间允许对数据库进行读取,但不允许更新 C.海量转储是指每次转储全部数据
D.增量转储是指每次只转储上次转储后更新过的数据
● 设置日志文件的目的不包括__(59)__
(59)A.事务故障恢复
B.系统故障恢复 C.介质故障恢复 D.删除计算机病毒
● 以下对触发器的叙述中,不正确的是__(60)__。
(60)A.触发器可以传递参数
B.触发器是 SQL 语句的集合 C.用户不能调用触发器
D.可以通过触发器来强制实现数据的完整性和一致性
● 需求分析阶段生成的文档中,用来描述企业中各项业务流程的是__(61)__。 (61)A.数据字典
B.数据流图 C.E-R 图 D.关系图
● 下图所示的扩展 E-R 图中,属性“电话”属于( ),在逻辑结构设计中,该图中的( )属性将不会被转换到关系模式中。
(62)A.组合属性
B.派生属性
C.多值属性 D.单值属性
(63)A.性别
B.电话 C.年龄 D.工号
● 下列列描述的因素中,不属于数据库物理设计应该考虑的是__(64)__ (64)A.事务的执行频度
B.使用频繁的查询操作 C.视视图设计 D.索引设计
● 某数据库应用系统在运行过程中,发现随着数据量的不断增加,有部分查询业务和数据更新业务执行耗时越来越长。经分析,这些业务都与表 Table1 有关。假设 Table1 有 30 多个字段,分别为(Key,A1,A2,...Am,B1,B2,...Bn)。执行频度较高的查询业务都只用到 A1,A2,...Am 中的大部分属性,因此,DBA 决定将表 Table1 分解为 Table2(Key,A1,A2,...Am)和 Table3(Key,B1,B2,...Bn)。为了使所有对 Table1 的查询程序不必修改,应该__(65)__;为了使对 Table1 的更新业务能正确执行,应该 (66)__;这样实现了__(67)__。
(65)A.修改所有对 Tabel1 的查询程序
B.创建视图 Table1,为 Ttable2 和 Table3 的自然连接 C.只修改使用 A1,A2,...Am 中属性的程序 D.只修改使用 B1,B2,...Bn 中属性的程序
(66)A.修改所有对 Table1 更新的事务程序
B.创建视图 Table1,为 Table2 和 Table3 的自然连接 C.只修改对 A1,A2,...Am 中属性更新的事务程序 D.只修改对 B1,B2,...Bn 中属性更新的事务程序
(67)A.数据的逻辑独立性
B.数据的物理独立性 C.程序的逻辑独立性 D.程序的物理独立性
● __(68)__不是分布式数据库管理系统应该遵循的准则。 (68)A.本地自治
B.依赖中心结点 C.分片透明 D.位置透明
● E-R 图中的实体集 A、B 之前为 1:*联系,转换为关系模型时,在 B 实体集中增加 A 实体集的标识符作外码;而在面向对象数据模型中,__(69)__。
(69)A.在 B 对象中增加一个引用属性外,对 A 对象不作任何处理
B.在 B 对象中增加一个引用属性外,在 A 对象中增加一组引用属性 C.在 A 对象中增加一组引用属性外,对 B 对象不作任何处理
D.在 A 对象中增加一组引用属性外,在 B 对象中增加一组引用属性
● Redis 是一种 NoSQL 数据库,具体地说,是__(70)__存储数据库。 (70)A.键-值
B.文档 C.图形 D.XML
● A transaction is an action, or a series of actions, carried out by a single user
or ( ), that accesses or changes the contents of the database.
A transaction should possess the four basic or so-called ACID properties: Atomicity. The “all or nothing” property. A transaction is an ( ) unit that is either performed in its entirety or is not performed at all.
Consistency. A transaction must transform the database from one consistent state to another consistent state.
Isolation. Transactions execute independently of one another. In other words, the partial effects of ( ) transactions should not be visible to other transactions. Durability. The effects of a successfully completed (committed)transaction are permanently recorded in the database and must not be lost because of a subsequent failure.
The four properties above, only ( ) property is the responsibility of the concurrency control subsystem to ensure. It is the
responsibility of both
the(
)and the application developers to ensure consistency. To guarantee the
Atomicity and Durability properties after a failure, a log file is needed.
(71)A. application developer
B. all users
C. application program D. DBMS
(72)A.Indivisible
B.permanent C.infrequent D.infinite
(73)A.completed
B.incomplete C.aborted D.committed
(74)A.atomicity
B.consistency C.isolation
D.durability
(75)A.DBMS
B.DBA
C.end user D.DBS