June 19, 2013

Post: MySQL 5.6 Compatible Percona Toolkit 2.2 Released

…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…. now. Basically, we re-focused it on its primary objective: analyzing MySQL query logs. So the ability to parse memcached, Postgres, …

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. The… only set a timeout, or any kind of wait or interval value, to such a high value to play a practical joke on

Post: InnoDB's gap locks

…another value on the second session: transaction2 > START TRANSACTION; transaction2 > INSERT INTO t VALUES(26); ERROR 1205 (HY000): Lock wait timeout exceeded…innodb-locks-set.html. Conclusion MySQL uses REPEATABLE READ as the default isolation level so it needs to lock the index records and the gaps…

Post: Percona XtraDB Cluster: Multi-node writing and Unexpected deadlocks

the locks necessary on the local node, but it has no idea about the rest of the cluster.  So, it optimistically shoots the transaction out to theon two different nodes we will open transactions and attempt to modify the same row: node1 mysql> set

Post: Ultimate MySQL variable and status reference list

the amazing MySQL manual, especially the option and variable reference table. But just as frequently, I want to look up blog posts on

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

locking in the database server. This plugin can alert ontimeouts, applications often don’t handle or log this error appropriately. The pmp-check-mysql

Post: MySQL Query Cache

… cached. MySQL Query Cache is not. It does not cache the plan but full result sets. This… you’re not using query_cache_wlock_invalidate=ON locking table for write would not invalidate query…on invalidation Table granularity is often too bad. With other caches you may implement version based or timeout

Post: Test Drive of Solid

… to take a bit closer look on new transactional engine for MySQL. While my far goal is the performance and scalability testing before… – you do not have to deal with complicated lock graphs or rely on timeout for deadlock resolution. For workloads with frequent row waits… and retrying transaction or giving error to the user you’re forced to wait. Setting lock wait timeout to some small value is not…

Post: Worse than DDOS

timeout has proper value or set it per session. Set Curl Timeouts Set both TIMEOUT and CONNECT_TIMEOUT as these apply to different connection stages and just setting timeouton locks or owning the lock and so one of them is the