June 20, 2013

Comment: How many partitions can you have ?

Have you seen http://bugs.mysql.com/bug.php?id=37252 ? This implies it is the locking that causes the slowdown (even for InnoDB/Falcon). Can you try your test with locking the table first, doing the INSERT ON DUPLICATE KEY UPDATE statements, and then unlock?

Post: InnoDB's gap locks

lock and the gaps between them with a shared gap lock. This lock doesn’t only affect to SELECT … FOR UPDATElocks to prevent that from happening. 2- innodb_locks_unsafe_for_binlog = 1. Disables the gap locks except for foreign-key constraint checking or duplicate-key

Post: Improved InnoDB fast index creation

…| | init | 0.000008 | | Opening tables | 0.000118 | | System lock | 0.000007 | | setup | 0.000027 | | creating table | 0….table without updating indexes took 18 seconds, and about the same time was spent on … ADD KEY (c), ADD KEY(c); Query OK, 0 rows affected (36.42 sec) Records: 0 Duplicates: …

Post: Announcing Percona Server 5.5.28-29.2

… Fixed: innodb_fake_changes didn’t handle duplicate keys on REPLACE. In some cases this could cause …innodb_fake_changes would allocate too many extents on UPDATE. In some cases this could cause infinite …exclusive (X) row locks to shared (S) locks, these S locks prevent X locks from being taken and…

Post: Announcing Percona Server for MySQL version 5.5.29-30.0

… Fixed the upstream bug #67504 that caused spurious duplicate key errors. Errors would happen if a trigger … is present only on slave server while there are updates on the replicated table on the master which … the data pages for printing lock information even if no lock information was going to be …

Post: Shard-Query EC2 images available

… indexes (not even primary keys). Here is the complete InnoDB schema from one shard. The schema is duplicated 20 times (but not…=16 innodb-stats-auto-update=0 innodb-stats-on-metadata=0 innodb-stats-sample-pages=256 innodb-stats-update-need-lock=0 innodb-status…-write-io-threads=4 join-buffer-size=16M key-buffer-size=64M local-infile=on lock-wait-timeout=300 log-error=/var/log…

Post: MySQL Query Cache

locked and is being prepared to be updated. So if you’re using query cache in default configuration you can’t assume locking… queries with select done by primary key, obviously there is no upper boundary -…can effectively use memory on multiple systems so there is no duplication. Memcached is probably…