【单选题】【消耗次数:1】
两个事务T1、T2同时对数据库中的数据读取之后先后进行了写入操作,如果并发控制不当会出现( )。
“读脏数据”
丢失修改
不能重复读
死锁
参考答案:
复制
纠错
相关题目
【单选题】 设有两个事务T1、T2,T1对数据A进行了写入操作后,T2读取了T1更新后的A,但随后T1对之前的操作进行了回滚,那么( )。
①  该操作存在丢失修改
②  该操作会出现死锁
③  该操作“读脏数据”
④  该操作不能重复读
【判断题】 如果事务T1需要两次读取同一数据项A,但是在两次读操作的间隔中,另一个事务T2改变了A的值,那么此并发操作所引起的问题是读“脏”数据。
①  正确
②  错误
【单选题】 如果有两个事务,同时对数据库中同一数据进行操作,不会引起冲突的操作是( )。
①  一个是DELETE,一个是SELECT
②  一个是SELECT,一个是DELETE
③  两个都是UPDATE
④  两个都是SELECT
【判断题】 数据库的空间会出现不够用的情况,如果日志空间不够了则意味着不能再向数据库中插入数据;如果数据空间不够了,则意味着不能再对数据库数据进行任何修改操作。
①  正确
②  错误
【多选题】 封锁机制是并发控制的主要手段,( )封锁协议不但能够防止丢失修改,还可进一步防止读“脏”数据。
①  一级
②  二级
③  三级
④  都可以
【单选题】 数据库管理系统能实现对数据库中数据的查询.插入.修改和删除等操作,这种功能称为( )。
①  A.数据定义功能
②  B.数据管理功能
③  C.数据操纵功能
④  D.数据控制功能
【多选题】 并发控制可以保证数据库事务的________
①  原子性
②  一致性
③  隔离性
④  持久性
【单选题】 若事务T对数据R已加了X锁,则其他事务对数据R( )。
①  可以加S锁不能加X锁
②  不能加S锁可以加X锁
③  可以加S锁也可以加X锁
④  不能加任何锁
【判断题】 数据库安全控制的目的是防止非法对数据库的使用和对数据库的恶意破坏。
①  正确
②  错误
【单选题】 在数据库系统中,对数据操作的最小单位是( )。
①  字节
②  数据项
③  记录
④  字符
随机题目
【单选题】 Students with _______ problems may apply for student loans.
①  economic
②  financial
③  male
④  economical
【单选题】 James Fraser ____ tradition by using three actual American Indians as models for his creation.
①  went out
②  went for
③  went in
④  went against
【单选题】 Many manufacturers were accused of concentrating too heavily on cost reduction, often at the ____ of the quality of their products.
①  expense
②  exposure
③  expansion
④  expectation
【单选题】 I always ____ what I have said.
①  get to
②  hold to
③  lead to
④  see to
【单选题】 The manager promised to keep me ____ of how our business was going on.
①  to be informed
②  on informing
③  informed
④  informing
【单选题】 I’m very sorry to have ____ you with so many questions on such an occasion.
①  interfered
②  offended
③  impressed
④  bothered
【单选题】 If we say some food is ____, we mean it is safe to eat.
①  ideal
②  editable
③  ideate
④  edible
【单选题】 Most people came to realize that it was about time the government ____ further measures to control the population.
①  must take
②  is taking
③  takes
④  took
【单选题】 He always has a lot of _______ ideas in his mind , and sometimes we do not even know what he is thinking about.
①  novel
②  spoil
③  acceptable
④  additional
【单选题】 Her skin was dry after ____ to the wind during the trip.
①  failure
②  disclosure
③  exposure
④  pressure