June 20, 2013

Post: MySQL 5.6 Compatible Percona Toolkit 2.2 Released

… 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 –set-vars is used to set both of these (or any) system variables. For

Post: Is Synchronous Replication right for your app?

…groups, but also updates groups with some metadata: BEGIN; INSERT INTO users_groups (user_id,…other transactions will lock wait until the lock(s) they need are available.  The application just waits in those…typical answers.  However, this means more latency waiting for a write to go through, and …

Post: Percona Server for MySQL 5.5.30-30.2 now available

… milestone at Launchpad. New Features: Percona Server for MySQL has implemented priority connection scheduling for the Thread Pool. (Alexey Kopytov) Percona Server… for the upstream bug #63144. CREATE TABLE or CREATE TABLE IF NOT EXISTS statements on an existing table could wait on a metadata lock… (Hrvoje Matijakovic), bug fixed #1154954 (Hrvoje Matijakovic). Release notes for Percona Server for MySQL 5.5.30-30.2 are available in…

Post: Percona Server 5.5.30-30.2 rerelease fixes non-restart issue

….30-30.2 — New Features: Percona Server for MySQL has implemented priority connection scheduling for the Thread Pool. (Alexey Kopytov) Percona Server… for the upstream bug #63144. CREATE TABLE or CREATE TABLE IF NOT EXISTS statements on an existing table could wait on a metadata lock… (Hrvoje Matijakovic), bug fixed #1154954 (Hrvoje Matijakovic). Release notes for Percona Server for MySQL 5.5.30-30.2 are available in…

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

… 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… variable specifies the timeout in seconds for attempts to acquire metadata locks,” then why isn’t it called metadata_lock_wait_timeout? In conclusion: be careful…

Comment: MySQL optimizer: ANALYZE TABLE and Waiting for table flush

@Vojtech no, the same locks are used in MySQL 5.6 @ymhctt I think they are different things. Metadata lock is used to avoid DDL while a transaction is active and modifying a table. For metadata lock you would see “Waiting for table metadata lock“.