June 18, 2013

Post: Innodb Undelete and Sphinx Support

… 100% recovered if they were not overwritten yet, as well as recover dropped Innodb tables. We also can get some data recovered from covering…. Recovering Innodb is not the only recovery task we had to do over last year and a bit. We had to recover data… write more details about Innodb data recovery process and release code for our innodb recovery toolset, so you can recover your data for…

Post: Recovering CREATE TABLE statement from .frm file

… table and you need to recover CREATE TABLE statement for this table. In particular when we do Innodb Recovery we often get… changes in between. So how to recover CREATE TABLE from .frm file ? Recovering from .frm for Innodb Table If we simply copy .frm… sec) mysql> select * from test_innodb; ERROR 2013 (HY000): Lost connection to MySQL server during query Recovering CREATE TABLE from .frm file…

Post: Recover BLOB fields

… not supported by Percona InnoDB Recovery Tool. The reason consists in a special way InnoDB stores BLOBs. An InnoDB table is stored in…` varchar(120), `N_FIELDS` int(10), PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 Here COMPACT format is used, which is… tests. The complexity of BLOB fields brings prerequisites to successfully recover a record with BLOB : all pieces of the BLOB field…

Post: Innodb Recovery Update - The tricks what failed.

As I wrote we had been recovering corrupted Innodb Tablespace and it is finally done now. As this was … no way to make Innodb avoid touching it. Even when we dropped all Innodb tables (for test purposes) Innodb still was crashing if… with innodb_force_recovery=4 was confirmed to be added in 5.0.33, meaning you could not really recover corrupted Innodb tables…

Post: Magic Innodb Recovery self healing

… can’t really recover data on per table basics. Also if MySQL crashes during recovery lower values of innodb_force_recovery normally… this particular corruption instance Innodb did not print table name in question), drop tables, restart Innodb without innodb_force_recovery and load them… to get lucky second time today. And Indeed Restarting Innodb with innodb_force_recovery=0 allowed it to start normally and I…

Post: Lost innodb tables, xfs and binary grep

… a dedicated partition on XFS file system Server was running innodb_file_per_table There was a production master and two… their copy of the data The important tables were all InnoDB Having a backup, customer has first attempted to restore from… deleted files on xfs – we all agreed on few things: recovering files from xfs is hard, if at all possible we…

Post: Data Recovery Toolkit for InnoDB Version 0.1 Released

… tablespaces and file-per-table tablespaces Able to recover data even when processed InnoDB page has been reassigned to another table and… more links to information resources related to InnoDB data structures and recovery procedures. The commercial Innodb Data Recovery services are available from…

Post: Recovering from a bad UPDATE statement

… know that in MySQL 5.5 that sometimes you can recover from a bad UPDATE statement?  This is possible if you…_INCREMENT, `c2` varchar(10) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=InnoDB; INSERT INTO `t1` (`c2`) VALUES (‘michael’), (‘peter’), (‘aamina’); We run… one row changed — you don’t need anything fancy to recover from this failure case and can just run another UPDATE…

Post: Innodb crash recovery update

I have not had a serious Innodb corruptions for a while, typically even if it happened it … is in special form which will take a while to recover. It also should be nice exercise in patience because database… worry. If it is global bug it should have been Innodb recovery show stopper while it goes back so many releases…

Post: InnoDB Flushing: Theory and solutions

…. The two most important parameters for InnoDB performance are innodb_buffer_pool_size and innodb_log_file_size. InnoDB works with data in memory… past innodb_log_file_size, as that would mean we would not be able to recover after a crash. In fact, InnoDB has two protection points: “async” and “sync”. When checkpoint_age reaches “async”, InnoDB tries…