MySQL Forums
Forum List  »  InnoDB

Re: Deadlock Detection in InnoDB storage engine
Posted by: Aftab Khan
Date: July 25, 2012 05:04AM

>Is it still required for us to create INDEX on this table?

Yes, because you use SELECT ... FOR UPDATE that lock all rows, if you use INDEX it would lock only 1 row.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Deadlock Detection in InnoDB storage engine
1267
July 25, 2012 05:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.