题目内容

事务T0、T1和T2并发访问数据项A、B和C,下列属于冲突操作的是______。

A. T0中的read(A)和T0中的write(A)
B. T0中的read(B)和T2中的read(C)
C. T0中的write(A)和T2中的write(C)
D. T1中的read(C)和T2中的write(C)

查看答案
更多问题

数据库管理系统采用三级加锁协议来防止并发操作可能导致的数据错误。在三级加锁协议中,一级加锁协议能够解决的问题是______。

A. 丢失修改
B. 不可重复读
C. 读脏数据
D. 死锁

事务T对数据对象A加上何种锁,其他事务只能再加对A加S锁,不能加X锁,直到事务T释放A上的S锁为止______

A. 共享锁
B. 排他锁
C. 独占锁
D. 写锁

某系统中事务T1从账户A转出资金到账户B中,在此事务执行过程中,另一事务T2要进行所有账户金额统计操作。在T1和T2事务成功提交后,数据库服务器突然掉电重启。为了保证T2事务统计结果及重启后A,B两账户金额正确,需利用到的事务性质分别是______。

A. 一致性和隔离性
B. 隔离性和持久性
C. 原子性和一致性
D. 原子性和持久性

Topic: Will petty criminals get light punishment Questions for Reference: 1. A new prosecution guideline was recently released: people convicted of petty crimes may get light punishment if they are minors, the elderly people, and people who have slightly breached the law because of poverty. What do you think of this new law 2. This new law is said to be a humane practice and it will help them put their lives back in order and better serve their families. Do you think it can achieve its end 3. Some people think that if petty crimes are not punished in a timely way, more serious consequences will follow. What do you think of this argument

答案查题题库