May 25, 2012

Comment: How to recover a single InnoDB table from a Full Backup

… # xtrabackup_55 –backup –innodb-file-per-table –target-dir=/mnt/mysql/export/ –tables=data # xtrabackup_55 –prepare –export –innodb-file-per-table –target-dir=/mnt/mysql/export ALTER TABLE data DISCARD TABLESPACE; # replace ibd with the… the InnoDB log files. See InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: for more information.

Post: Ultimate MySQL variable and status reference list

… the amazing MySQL manual, especially the option and variable …commanual innodb_flush_methodblogpercona.commanual innodb_force_recoveryblogpercona.commanual Innodb_have_atomic_…portblogpercona.commanual report_userblogpercona.commanual rpl_recovery_rankblogpercona.commanual Rpl_semi_sync_master…

Post: Magic Innodb Recovery self healing

… data on per table basics. Also if MySQL crashes during recovery lower values of innodb_force_recovery normally would not work. Reading Documentation one… really required by trying lower recovery settings. Happily I was able to restart MySQL with innodb_force_recovery=4 (SRV_FORCE_NO_IBUF_MERGE). So…

Post: Innodb Recovery Update - The tricks what failed.

… avoid dumping the data and find some other way to recovery. Examining Innodb page content and crash information we figured out… which we found during attempt to dump tables with innodb_force_recovery=4 was confirmed to be added in 5.0.33… could mean all sorts of different things: Versions later than MySQL 5.0.33 are not frequently used True many distributions…

Post: Percona Testing: Innodb crash / recovery tests available

…, but there are precious few innodb crash recovery tests available. Some folks have noticed this …tests have been created for the main MySQL branch. The MySQL at Facebook branch has a number …./kewpie.py –suite=innodbCrash –basedir=/path/to/basedir –force –randgen-seed=time –repeat=3 gets us: …

Post: Connecting orphaned .ibd files

… is erroneously removed 2. ibdata1 is heavily corrupted and innodb_force_recovery doesn’t help Chris Calender suggests two methods. The first… in InnoDB dictionary. MySQL must be stopped at this point. There is a tool ibdconnect in Percona InnoDB Recovery Tool. Make sure… the dictionary in ibdata1. # ./ibdconnect -o /var/lib/mysql/ibdata1 -f /var/lib/mysql/sakila/actor.ibd -d sakila -t actor actor…

Post: Recovering Innodb table Corruption

… so once you started Innodb with innodb_force_recovery=1 you can do the following: mysql> CREATE TABLE `test2` ( -> `c` char(255) DEFAULT… higher innodb_force_recovery modes to block purging activity, insert buffer merge or recovery from transactional logs all together. Though the lower recovery mode…

Comment: Returning to InnoDB scalability

… tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html InnoDB: about forcing recovery. mysqld got signal 11; This could be… InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files… InnoDB: Restoring…

Comment: Recovering Innodb table Corruption

… innodb_force_recovery from working right. This bit me a couple weeks ago recovering data for a client: I set innodb_force_recovery=4 and suddenly all tables had 0 rows. More info: http://www.mysqlperformanceblog.com/2007/05/24/innodb-recovery-update-the-tricks-what-failed/ and http://bugs.mysql.com/bug.php?id=28604

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… being forced to scan good portion of it finding place to insert the page. So I took a shot at restarting MySQL… bothering to flush anything (I only could see reads while recovery was going with large buffer pool) plus large distinct amount…