Which two statements are true about InnoDB auto-increment locking?

Which two statements are true about InnoDB auto-increment locking?

Which two statements are true about InnoDB auto-increment locking?

A.
The auto-increment lock can be a table-level lock.

B.
InnoDB never uses table-level locks.

C.
Some settings for innodb_autoinc_lock_mode can help reduce locking.

D.
InnoDB always protects auto-increment updates with a table-level lock.

E.
InnoDB does not use locks to enforce auto-increment uniqueness.

Explanation:
Reference: http://dev.mysql.com/doc/refman/5.6/en/innodb-auto-increment-configurable.html



Leave a Reply 9

Your email address will not be published. Required fields are marked *


wolfsrudel

wolfsrudel

Incomplete.

I think A, D.

wolfsrudel

wolfsrudel

C, D.

I don’t like the “[…]can be[…]” in the first possible answer.

Steve

Steve

Actually I like C and D

howard

howard

Aggree with you , I pefere C and D.

Malika

Malika

D cant be the right option as in lock mode = interleaved, no table level locks are held.
So A and C