June 18, 2013

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

… in the transaction needs a lock, it will wait for that lock before proceeding (this is where deadlocks and lock wait timeouts can happen… easy to see by looking at all transactions waiting for locks and checking for circular dependencies, but that would be much more complicated… id 83B lock_mode X locks rec but not gap So far, so good.  We have an open transaction on node1 updating row 1…

Post: MySQL Users Conference - Innodb

… community version. Relaxing Locks Row level replication allows to get relaxed locks in many other cases. Gap or next-key locks which limit concurrency in many cases can be removed for READ-COMMITED… do not match where clause (think for example about running not-indexed UPDATE which has to lock all rows in Innodb right now…

Post: Heikki Tuuri Innodb answers - Part I

… then InnoDB normally does not lock the ‘gaps‘, and it does not lock rows whose latest committed version does…other database brands. Maybe in some denormalized database (for example, if ORDER and ORDERLINE tables are …you to answer second portion of the questions. UPDATE: Second Part of the answers is…