June 19, 2013

Post: MySQL 5.6 Compatible Percona Toolkit 2.2 Released

…, we removed –lock-wait-timeout which set innodb_lock_wait_timeout because that now conflicts, or is at least confused with, lock_wait_timeout (introduced in MySQL 5.5) for metadata locks

Post: MySQL 5.5 lock_wait_timeout: patience is a virtue, and a locked server

… something about lock_wait_timeout that shocked me.  From the MySQL 5.5 docs for lock_wait_timeout: This variable specifies the timeout in seconds for attempts to acquire metadata locks. The permissible values range…

Post: InnoDB's gap locks

… 1205 (HY000): Lock wait timeout exceeded; try restarting transaction transaction2 > INSERT INTO t VALUES(29); ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction transaction2 > INSERT INTO t VALUES(23); ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting…

Post: ACTIVE with Locks – Now thats a problem !

… when you have long enough ACTIVE transactions which have some locks, like in this case: MySQL thread id 2059, query id… query will try to lock the same rows it will have to wait… possibly until innodb_lock_wait_timeout elapses and when it… are recycled it might be good idea to set wait_timeout to some reasonable value, say 60 seconds. In this case…

Post: Percona XtraDB Cluster Feature 2: Multi-Master replication

… to two different nodes, the cluster will use an optimistic locking model. That means a transaction will not check on possible locking conflicts during individual queries, but rather on the COMMIT stage. … InnoDB, that you may experience. In InnoDB usually DEADLOCK and LOCK TIMEOUT errors happen in response on particular query, but not on…

Comment: Pitfalls of converting to InnoDB

These lock timeouts imply that you have some long running queries (or that … better off looking for the source of the long running lock rather than wrapping all your queries in a retry script…

Post: Ultimate MySQL variable and status reference list

…_row_lock_current_waitsblogpercona.commanual Innodb_row_lock_timeblogpercona.commanual Innodb_row_lock_time_avgblogpercona.commanual Innodb_row_lock_time_maxblogpercona.commanual Innodb_row_lock…_zoneblogpercona.commanual table_definition_cacheblogpercona.commanual table_lock_wait_timeoutblogpercona.commanual Table_locks_immediateblogpercona.commanual Table_locks_waitedblogpercona.commanual table_open_cacheblogpercona.commanual…

Comment: InnoDB's gap locks

…): Lock wait timeout exceeded; try restarting transaction root@localhost:test 14:38:03>insert into t values(23); ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction root@localhost:test 14:44:37>insert into t values(31); ERROR 1205 (HY000): Lock wait timeout