June 19, 2013

Post: How to recover table structure from InnoDB dictionary

… | 12 | 2162959 | 135 | 0 | | 741 | 2 | last_name | 12 | 2162959 | 135 | 0 | | 741 | 3 | last_update | 6 | 1799 | 4 | 0 | +———-+—–+————-+——-+———+——+——+ So, we know…, `last_name` VARCHAR(45) CHARACTER SET ‘utf8′ COLLATE ‘utf8_general_ci’ NOT NULL, `last_update` TIMESTAMP NOT NULL, PRIMARY KEY (`actor_id`) ) ENGINE=InnoDB

Post: Is Synchronous Replication right for your app?

Innodb, you might consider relaxing the fsync:  set innodb_flush_log_at_trx_commit to something besides 1 and suddenly you can update…flushing to the database periodically? if( $last_count % 100 == 0 ) { $db->do( “UPDATE achievements SET count = $last_count where achievement = ‘killed_troll’”; } …

Post: 10 years of MySQL User Conferences

… the Innodb storage engine. The Falcon storage engine was announced as a potential Innodb successor….MySQL Enterprise provides Monthly Rapid Updates [MRU] while Community MySQL versions updated every quarter or so… from you attending MySQL Conference over last 10 years. Please leave comment and share…

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

last 5.5 series release of Percona Server, we included… upgrade was completed regardless of its state before updating. This caused some problems for some users, especially … #49169. This also provides much better scalability in InnoDB high-concurrent workloads. Bugs fixed #1131189 (Alexey Kopytov). …

Post: Follow these basics when migrating to Percona XtraDB Cluster for MySQL

… these basics. log_slave_updates is REQUIRED You need to have log_slave_updates enabled on the cluster … tables though if you can leave them behind. Lastly, once that bug above is fixed, and you … However, if you can, you should consider moving to InnoDB altogether. There are very few reasons to stay …

Post: When Does InnoDB Update Table Statistics? (And When It Can Bite)

… up on slow query log until InnoDB again updates the statistics. But when does InnoDB perform the updates aside from the first opening of…[user1] @ [172.20.6.1] # Thread_id: 10140441 Schema: db1 Last_errno: 0 Killed: 0 # Query_time: 12.277786 Lock_time… Server with the variable innodb_stats_auto_update (from MySQL Community 5.1.17 a similar variable exist called innodb_stats_on_metadata…

Post: Missleading Innodb message on recovery

… years ago the feature of Innodb to store copy of master’s position in Slave’s Innodb tablespace got broken. There is… Patches) InnoDB: In a MySQL replication slave the last master binlog file InnoDB: position 0 10000000, file name mysql-bin.005000 InnoDB: Last MySQL binlog… this master. What is going on ? The thing is Innodb does not update this information any more however if it is stored…

Post: SHOW INNODB STATUS walk through

…; asc a ;; *** WE ROLL BACK TRANSACTION (2) For last deadlock Innodb shows transactions which caused deadlocks, their state during deadlock, …be “fetching rows”, “updating” and couple of other values. “Thread declared inside InnoDB 400″ means thread is running inside Innodb kernel and …

Post: Connecting orphaned .ibd files

… VARCHAR(45) NOT NULL, last_name VARCHAR(45) NOT NULL, last_update TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (actor_id), KEY idx_actor_last_name (last_name) )ENGINE=InnoDB DEFAULT…

Post: Recovery after DROP & CREATE

…, `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`actor_id`), KEY `idx_actor_last_name` (`last_name`) ) ENGINE=InnoDB AUTO…, ->   last_update TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, ->   PRIMARY KEY  (actor_id), ->   KEY idx_actor_last_name (last_name) -> )ENGINE=InnoDB DEFAULT…