OCP-1Z0-052-V8.02-188题

188. You receive complaints from users regarding the high waiting time for their transactions. On

investigation, you find that some users are not committing their transactions though they are not

performing any activity for a long time. As a result, SQL statements need to wait for row-level locks. 

Which two actions could you take to prevent this locking problem in the future? (Choose two.)

A.Decrease the IDLE_TIME resource limit in the profile assigned to the blocking users.

B.Use Database Resource Manager to automatically log out sessions that block others and are idle.

C.Set the limit in the profile of blocking users to control the number of blocks to be accessed in a session.

D.Decrease the maximum number of interested transaction list (ITL) slots for the segments on which the

blocking user performs the transaction.

Answer: AB   

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/13092965

题意:收到用户投诉说在事务期间经常要等待很长时间,经调查发现,有些用户不提交他们的事务且很长一段时间没有进行任何活动。结果,就会造成SQL语句行级锁,而其他人只能等待,怎样防止这种锁定问题?

A,对于阻塞用户减少 IDLE_TIME的资源限制,正确。通过数据库资源管理器提供的空闲时间限制,来指定哪些阻塞用户的会话的空间时间,超过该时间后将终止会话。

B,使用数据库资源管理器自动退出阻塞别人或者用户闲置的会话。正确。

C,设置阻塞用户的档案,以控制在一个会话中被访问的块的数量的限制。如此一来,被阻塞的用户如果想再次访问的时候就不能访问了。错误。

D,减少感兴趣的事务列表(ITL)插槽,用于阻止用户执行交易分类的最大数目。和C类似,如果此时空闲的用户想访问以前不感兴趣的事务,那么旧不能访问了。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值