June 20, 2013

Post: MySQL 5.6 Compatible Percona Toolkit 2.2 Released

… its tries and wait time between tries for all operations are configurable. Also, 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. Now…

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

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… that metadata locking can lock the server as Ovais describes in his blog post.  The default for innodb_lock_wait_timeout, by …

Post: Ultimate MySQL variable and status reference list

MySQL manual, …innodb_flush_methodblogpercona.commanual innodb_force_recoveryblogpercona.commanual Innodb_have_atomic_builtinsblogpercona.commanual innodb_io_capacityblogpercona.commanual innodb_lock_wait_timeoutblogpercona.commanual innodb_locks_unsafe_for_binlogblogpercona.commanual innodb

Post: ACTIVE with Locks – Now thats a problem !

… thread id 1224980800 3 lock struct(s), heap size 368, 1 row lock(s), undo log entries 1 MySQL thread id 1720, query… some other query will try to lock the same rows it will have to wait… possibly until innodb_lock_wait_timeout elapses and when it completes with error. Second because if you have some updated rows Innodb will…

Post: InnoDB's gap locks

…ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction transaction2 > INSERT INTO t VALUES(29); ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting…of information: http://dev.mysql.com/doc/refman/5.1/en/innodb-locks-set.html. Conclusion MySQL uses REPEATABLE READ as the…

Post: How to debug long-running transactions in MySQL

… data, then other transactions could block and fail with a lock wait timeout. The problem is, it can be very difficult to find… exit 1 fi host=$(mysql -ss -e ‘SELECT p.HOST FROM information_schema.innodb_lock_waits w INNER JOIN information_schema.innodb_trx b ON… of problems bringing everything on the system to a grinding “lock wait timeout” halt.

Post: How to Monitor MySQL with Percona's Nagios Plugins

… is failed or overly full. Too many deadlocks. Deadlocks (and lock wait timeouts, covered in another plugin) are frequent causes of serious errors…other problems. The pmp-check-mysql-innodb plugin checks for several indicators of severe internal problems within InnoDB, such as contention that crosses…

Post: New SpecJAppServer results at MySQL and Sun.

innodb_lock_wait_timeout = 300 innodb_thread_concurrency = 0 innodb_sync_spin_loops = 40 innodb_locks_unsafe_for_binlog = 1 innodb_max_dirty_pages_pct=15 innodb_support_xa=0 innodb

Comment: MySQL Server Memory Usage

… AVAILABLE #innodb_log_buffer_size=8M # Lowered from 32M according to MySQL innodb_additional_mem_pool_size=20M innodb_file_io_threads=4 innodb_lock_wait_timeout=15 # CHANGED from 50 innodb_log_files_in_group=3 innodb_flush…