May 25, 2012

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

InnoDB: Import: The extended import of data is being started. InnoDB: Import: 9 indexes have been detected. InnoDB: Progress in %: 1 2 3 4…copied the InnoDB InnoDB: tablespace but not the InnoDB log files. See InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: for…

Post: MySQL 4 to MySQL 5 Upgrade performance regressions

MySQL 4.1 Disable Binary Logging This allows to get group commit back but obviously you loose point in time recovery and replication. Use innodb… this post as MySQL 5.0 is junk in terms of performance and you should stay on MySQL 4.1 until MySQL has taken it away from you as already happened with MySQL 4.0. MySQL 5.0 can offer…

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 happening in foreground… with restarts more than crash recovery as it presents in normal restarts as well – “Opening Tables”. As Innodb has to recompute the… be opened at the time as of MySQL 5.0 It would be great if Innodb would finally optionally store stats, same…

Post: Recovering Innodb table Corruption

4 bytes of lsn at page end 1487506025 InnoDB: Page number (if stored to page already) 7, InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 6353 InnoDB: Page… work well – in this case you may wish to use Innodb Recovery Toolkit which is also helpful in cases you’ve want…

Post: How to recover deleted rows from an InnoDB Tablespace

… make it clearer: 1- Extract all the InnoDB pages from the tablespace: First we need to download Percona Data Recovery Tool and compile…: name emp_no, id 27, fields 1/2, uniq 2, type 0 root page 4, appr.key vals 306195, leaf pages 2189… following link: http://www.percona.com/docs/wiki/innodb-data-recovery-tool:mysql-data-recovery:generating_a_table_definition With the table definition on…

Post: MySQL Crash Recovery

…fast is better solution. Innodb Recovery – Unless you have some hardware problems (99%) or found new Innodb bug (1%) Innodb recovery should be automatic and bring… Innodb you also might with to use innodb-safe-binlog option in MySQL 4.1 so your Innodb log and binary log are synchronized. In MySQL

Post: A recovery trivia or how to recover from a lost ibdata1 file

…able to recover the data with the Innodb recovery tool of Aleksandr Kuzminsky a colleague on…mnt/tables# hexdump profile_data.ibd -C | head -4 #00000000 62 bd c3 19 00 …/lib/mysql/recover/ chown mysql.mysql /var/lib/mysql/recover/$CURRENT_TABLENAME.ibd sleep 1 echo “importing tablespace” mysql -u root…

Post: Improving InnoDB recovery time

Speed of InnoDB recovery is known and quite annoying problem. It was discussed many times, see: http://bugs.mysql.com/bug.php?id…: innodb_buffer_pool_size=16G innodb_log_files_in_group=3 innodb_log_file_size=512M So let’s take standard MySQL 5.4.1, it starts: 090706 15:39:47 InnoDB: Database was…

Post: MySQL Users Conference - Innodb

… systems with 1-2 SATA drives so they are far from optimal for server grade IO subsystems. These are for MySQL 4.0… there are more things inside Innodb to unleash performance such as multiple purge threads or parallel log recovery features, which he however needs to test properly before really enabling it. Innodb IO Tuning I should…

Post: Innodb Performance Optimization Basics

… out detailed guide on tuning innodb buffer pool innodb_log_file_size – This depends on your recovery speed needs but 256M seems to be a good balance between reasonable recovery time and good performance innodb_log_buffer… will not have uncontrolled innodb main tablespace growth which you can’t reclaim. This option was added in MySQL 4.1 and now stable…