June 19, 2013

Post: Innodb crash recovery update

I have not had a serious Innodb corruptions for a while, typically even if it happened it … worry. If it is global bug it should have been Innodb recovery show stopper while it goes back so many releases (5… all scripts which may bother it for the time of recovery. For complex systems it may be very hard to ensure…

Post: Recovering Innodb table Corruption

crash even with innodb_force_recovery=1 080704 0:22:53 InnoDB: Assertion failure in thread 1158060352 in file btr/btr0btr.c line 3235 InnoDB….com. InnoDB: If you get repeated assertion failures or crashes, even If you get such assertion failures most likely higher innodb_force_recovery values…

Post: How to estimate time it takes Innodb to Recover ?

… set innodb_log_file_size large. We however usually recommend caution as it may significantly increase recovery time if Innodb needs to do crash recovery. I’m often something like what recovery time would expect for…

Post: How innodb_open_files affects performance

… 18:43:36 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files… InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer… InnoDB: Doing recovery: scanned…

Post: Magic Innodb Recovery self healing

… new MySQL release will have this Innodb bug fixed) until today we got MySQL to crash during recovery process right after 17% of… data on per table basics. Also if MySQL crashes during recovery lower values of innodb_force_recovery normally would not work. Reading Documentation one… this particular corruption instance Innodb did not print table name in question), drop tables, restart Innodb without innodb_force_recovery and load them back…

Post: No more MySQL Crash Safe Replication in 5.0 ?

… using only Innodb tables – Innodb when Innodb does crash recovery it would print position in master log files up to which replication was done: InnoDB: In… somewhat similar functionality works as expected. Innodb during recovery also prints position in the MySQL binary log: InnoDB: Last MySQL binlog file position…

Post: Innodb Recovery Update - The tricks what failed.

… the data and find some other way to recovery. Examining Innodb page content and crash information we figured out it should be page…) Innodb still was crashing if we attempted to enable insert buffer. I think it would be nice for Innodb to have some additional recovery… with innodb_force_recovery=4 was confirmed to be added in 5.0.33, meaning you could not really recover corrupted Innodb tables…

Comment: MySQL Replication vs DRBD Battles

… think DRBD is amazing. The concern about long crash recovery times after failover with InnoDB and DRBD can be resolved. One method to do this is a config option that enforces the maximum number of crash-recovery… parallelism or concurrency (multiple threads or multiple IOs pending) in InnoDB crash recovery code? The Google patch had more than semi-sync for…

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

… MySQL 4.1 and above the longest part of recovery after crash for Innodb tables could be UNDO stage – it was happening in… one. The server had about 65000 tables using innodb_file_per_table so “InnoDB: Reading tablespace information from the .ibd files…” stage… do with restarts more than crash recovery as it presents in normal restarts as well – “Opening Tables”. As Innodb has to recompute the…

Post: Copying InnoDB tables between servers

… 23:22:43 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files… InnoDB: Doing recovery: scanned up to log sequence number 3 768598528 (6 %) …. InnoDB: Doing recovery: scanned…