May 23, 2012

Comment: How to change innodb_log_file_size safely

…:16 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files… InnoDB: Restoring…

Post: Faster Point In Time Recovery with LVM2 Snaphots and Binary Logs

… from a snapshot (and binary logs for point in time recovery) in case of that ‘Oops’ moment? Let me show you… the same logical volume, if not, you could potentially trigger crash recovery when an LSN mismatch occurs and still end up with…

Comment: How FLUSH TABLES WITH READ LOCK works with Innodb Tables

… location, we bring up the new mysqld, which finds a crashed innodb, recovers this, and then it is being configured to… as the donor machine. Every once in a while the recovery of the innodb in the target location fails, though, even…

Post: MySQL Crash Recovery

… better solution. Innodb Recovery – Unless you have some hardware problems (99%) or found new Innodb bug (1%) Innodb recovery should be automatic… which you may experience related to MySQL Crash Recovery – Restoring data from backup, corrupted Innodb tablespace recovery etc but I should write about…

Post: Percona Testing: Innodb crash / recovery tests available

… everyone may know this, but there are precious few innodb crash recovery tests available. Some folks have noticed this and asked for… crash test bug: DBUG_EXECUTE_IF(“crash_commit_before”, DBUG_SUICIDE();); DBUG_EXECUTE_IF(“crash_commit_after_prepare”, DBUG_SUICIDE();); DBUG_EXECUTE_IF(“crash…_CRASHED (101) I also took pains to ensure that the randgen workload was having an effect on the test tables between crash/recovery

Post: No more MySQL Crash Safe Replication in 5.0 ?

… you’re using only Innodb tables – Innodb when Innodb does crash recovery it would print position in master log files up to… implementation though the code which prints the data back on recovery was not, so it prints you some log file name… broken other somewhat similar functionality works as expected. Innodb during recovery also prints position in the MySQL binary log: InnoDB: Last…

Post: Improving InnoDB recovery time

… http://dammit.lt/2008/10/26/innodb-crash-recovery/ This is problem when your InnoDB crashes, it may takes long time to start… lives in http://bazaar.launchpad.net/~percona-dev/percona-xtradb/recovery-speed-hack/ tree. The patch by itself is quite small… review it: http://bazaar.launchpad.net/~percona-dev/percona-xtradb/recovery-speed-hack/revision/86 So your comments about patch is…

Post: What is the longest part of Innodb Recovery Process ?

In MySQL 4.1 and above the longest part of recovery after crash for Innodb tables could be UNDO stage – it was… more longest phase has to do with restarts more than crash recovery as it presents in normal restarts as well – “Opening Tables…

Post: Innodb Recovery - Is large buffer pool always better ?

… positive, Innodb with large buffer pool to performing better. Including Recovery of course. I even blogged about it. It turns out… case. Last week I was called to help with Innodb crash recovery on box with large amount of memory (64GB) with Innodb… bothering to flush anything (I only could see reads while recovery was going with large buffer pool) plus large distinct amount…

Post: Missleading Innodb message on recovery

… having the following message in the error log after Slave crash while running MySQL 5.1.41 (extra virgin version without… patch which restores this information and uses it on slave crash recovery.