MySQL Forums
Forum List  »  InnoDB

Re: Lock wait timeout exceeded; try restarting transaction
Posted by: Rick James
Date: June 09, 2010 12:49AM

AUTOCOMMIT = ON means that each _query_ is a transaction.
AUTOCOMMIT = OFF means must mean something different? Think about it. InnoDB must do things in "transactions". So, when would a started transaction end? Sounds like "connection-oriented".

So,... back to the question of how long _connections_ last. And, are there "persistent" connections?

Timing things:
* PHP's microtime(true)
* MySQL's slowlog.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Lock wait timeout exceeded; try restarting transaction
1887
June 09, 2010 12:49AM


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.