June 18, 2013

Post: How to recover table structure from InnoDB dictionary

To recover a dropped or corrupt table with Percona Data Recovery Tool for InnoDB you need two things: media with records(ibdata1… no information about the table structure in an InnoDB page. Normally we either recover the structure from .frm files or take it… old backup. A new tool sys_parser can recover the table structure from InnoDB dictionary. Why do we need a new tool…

Post: Finally. How to verify if all MySQL records were recovered

…. There are two ways to know how many records an InnoDB page stores. The index page has a header PAGE_N… – and count them. As you might know, records inside an InnoDB page are organized in an unidirectional list. The list is… it knows how many records were actually recovered. This statistics are printed along with the recovered records: — Page id: 3, Format: COMPACT…

Post: Benchmarking Percona Server TokuDB vs InnoDB

…_average innodb_file_per_table = true innodb_data_file_path = ibdata1:100M:autoextend innodb_flush_method = O_DIRECT innodb_log_buffer_size = 256M innodb_flush… #####plugin options innodb_read_io_threads = 16 innodb_write_io_threads = 4 innodb_io_capacity = 4000 innodb_use_native_aio=0 #not innodb options (fixed…_extra_sort_file_size = 10G myisam_repair_threads = 1 myisam_recover socket=/var/lib/mysql/mysql.sock user=root skip-grant…

Post: Virident vCache vs. FlashCache: Part 2

…: #####fixed innodb options innodb_file_format = barracuda innodb_buffer_pool_size = 4G innodb_file_per_table = true innodb_data_file_path = ibdata1:100M innodb_flush_method…_max_sort_file_size = 10G myisam_repair_threads = 1 myisam_recover

Comment: How to recover table structure from InnoDB dictionary

1) innodb_file_per_table is OFF by default, which means all … how to do it http://www.percona.com/docs/wiki/innodb-data-recovery-tool:mysql-data-recovery:start . The biggest challenge… for each table – http://www.percona.com/docs/wiki/innodb-data-recovery-tool:mysql-data-recovery:advanced_techniques#recovering_the_data_dictionary

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

… you better to understand how Innodb recovery works. When Innodb recovers from logs it finds the last checkpoint time. Innodb has fuzzy checkpointing and… drives. So how do you estimate how long it takes Innodb to Recover ? Now you know there are multiple of variables which… expect system to handle and crash Innodb few times to see how long it takes Innodb to recover. I’d recommend to crash…

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

recover.$CURRENT_TABLENAME like test.$CURRENT_TABLENAME;” sleep 1 echo “switching to Innodb ” mysql -u root -e “alter table recover.$CURRENT_TABLENAME engine=Innodb;” sleep 1 echo “discarding tablespace ” mysql -u root -e “alter table recover

Post: How to recover deleted rows from an InnoDB Tablespace

recover the data. The tool that we’re going to use to achieve this objetive is Percona Data Recovery Tool for InnoDB…-31 | +——–+——–+————+————+ Data recovered! 10008 has recovered his salary again :) Conclusion With InnoDB the deleted rows are not lost. You can recover them from the…

Post: Recovering Innodb table Corruption

… this: InnoDB: Database page corruption on disk or a failed InnoDB: file read of page 7. InnoDB: You may have to recover from a backup. 080703 23:46:16 InnoDB: Page dump… may wish to use Innodb Recovery Toolkit which is also helpful in cases you’ve want to recover deleted rows or dropped…

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

… faster to recover single tables than a full backup. This is easy with MyISAM but if your tables are InnoDB the process… of time and some headaches ;) Instead of recovering all the InnoDB data we are going to recover only the “salaries” table: Discard the… back again! Conclusion: As we learned , you can also recover single InnoDB table as with MyISAM but knowing in advance that there…