0
点赞
收藏
分享

微信扫一扫

Mysql OCP 第5题


How does the InnoDB storage engine handle deadlocks when they are detected?
A. Both the affected transactions will be rolled back.
B. The affected transactions wait for innodb_lock_wait_timeout seconds, and then roll back.
C. One of the affected transactions will be rolled back, the other is allowed to proceed.
D. The transaction isolation level determines which transaction is rolled back.
E. The innodb_locks_unsafe_for_binlog setting determines which transaction is rolled back.

Answer: C

问:当检测到死锁时,InnoDB存储引擎如何处理它们?

答:一个受影响的事务将回滚,另一个允许继续。

举报

相关推荐

Mysql OCP第9题

Mysql OCP第8题

Mysql OCP 第14题

Mysql ocp第7题

Mysql OCP第11题

Mysql OCP第6题

0 条评论