June 19, 2013

Post: ZFS on Linux and MySQL

… number of snapshots running is simply not an option.  With ZFS you can easily have: one snapshot …zealous.  Pretty interesting to speed up point in time recovery when you dataset is 700GB.  If you google … ready for the task.  Snapshots work best with InnoDB, with MyISAM you’ll have to start the …

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

…no longer complete or useful for point-in-time recovery. Generally if you’re considering the binary log …slaves. You can also use the slave_compressed_protocol option in /etc/my.cnf if bandwidth is a concern…grant-tables and insert a few rows into an InnoDB table, but trying to run a simple mysqlslap …

Post: How to recover table structure from InnoDB dictionary

… recover a dropped or corrupt table with Percona Data Recovery Tool for InnoDB you need two things: media with records(ibdata1, *.ibd… some cases even .frm files is not an option: Table was dropped and innodb_file_per_table is ON Frm file corrupt…. Download the latest revision of the recovery tool bzr branch lp:percona-data-recovery-tool-for-innodb 1. Compile the dictionary parsers make…

Post: Percona XtraDB Cluster 5.5.30-23.7.4 for MySQL now available

… assigned via pc.weight option in the wsrep_provider_options variable. Accepted values are in…replication threads were started before running wsrep recovery, this would lead to memory corruption and… Yurchenko). If variable innodb_thread_concurrency has been defined to throttle InnoDB access, and work…

Post: Magic Innodb Recovery self healing

… of log recovery. As it is very nasty option I wanted to check if this is really required by trying lower recovery settings… innodb_force_recovery=0 allowed it to start normally and I could rebuild affected tables my “normal way”. So when dealing with Innodb recovery for bad corruptions you may want to: – Start with lower innodb_force_recovery settings and see which one…

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 it… buffer. I think it would be nice for Innodb to have some additional recovery options for example for skipping over insert buffer or… with innodb_force_recovery=4 was confirmed to be added in 5.0.33, meaning you could not really recover corrupted Innodb tables…

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 your database to consistent state. Depending on innodb_flush_lot_at… penalty. If using Innodb you also might with to use innodb-safe-binlog option in MySQL 4.1 so your Innodb log and binary…

Post: Recovering Innodb table Corruption

… old table and convert new table back to Innodb after restarting without innodb_force_recovery option. You can also rename the old table in… higher innodb_force_recovery modes to block purging activity, insert buffer merge or recovery from transactional logs all together. Though the lower recovery mode… work well – in this case you may wish to use Innodb Recovery Toolkit which is also helpful in cases you’ve want…

Post: How InnoDB handles REDO logging

… media recovery we will not know if that action has previously been executed as we will start recovery from the last checkpoint.InnoDB… seen by enabling the innodb_recovery_stats option in Percona Server, which allows you to see the progress made during recovery. How does this affect throughput? As the REDO log in InnoDB uses a fixed length circular…

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