June 18, 2013

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 2

… care if you don’t want to break replication or corrupt your data. Scenario #2: One of the slaves is behind… choosing which slave will be the new master is to recover the missing events with mysqlbinlog. Let’s say that we…. See bug #68566. Does it mean that we cannot easily recover the data with mysqlbinlog? There is a solution of course…

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 … dropped and innodb_file_per_table is ON Frm file corrupt, zeroed out, lost or SHOW CREATE TABLE crashes MySQL There… page_parser ./page_parser -f /var/lib/mysql/ibdata1 3. Recover SYS_TABLES, SYS_INDEXES, SYS_COLUMNS and SYS_FIELDS from…

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

… two conclusions can be make: The page structure is not corrupt You know how many records to expect This is what… were found by pointers. Then the contraints_parser tries to recover the records. It checks whether fields have permitted values, etc… it knows how many records were actually recovered. This statistics are printed along with the recovered records: — Page id: 3, Format: COMPACT…

Comment: How to recover table structure from InnoDB dictionary

… was saved then ibdata1 should be valid, maybe with some corruption. The tables structure you can get from the dictionary as…/wiki/innodb-data-recovery-tool:mysql-data-recovery:advanced_techniques#recovering_the_data_dictionary

Post: Troubleshooting Relay Log Corruption in MySQL

… of various error messages you could see if relay log corrupted. You could also see malformed queries (with some junk), complaining… not work) to find the next event start and potentially recovercorrupted” event to be manually executed on the slaves. Skipping around… depending on applications (and on amount of events which were corrupted) you may want to let replication continue from the new…

Post: Recovering Innodb table Corruption

…: Database page corruption on disk or a failed and crash with assertion failure. So what can you do to recover such a table ? There are multiple things which can get corrupted and I will be looking… is much better compared to table dictionary corruption when it may be much harder to recover the table. In this example I…

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 … added in 5.0.33, meaning you could not really recover corrupted Innodb tables this way for about 6 months. What does… experience Innodb tables become corrupted more seldom than MyISAM. Thanks to checksums and crashing in case of corruptions and a lot of…

Post: Recover BLOB fields

… tests. The complexity of BLOB fields brings prerequisites to successfully recover a record with BLOB : all pieces of the BLOB field…_OFFSET and BTR_EXTERN_LEN must not be corrupted. The tool outputs the recovered table in tab-separated values format. BLOBs are… %x’); * – there is a typo in Recovery of Lost or Corrupted InnoDB Tables Presentation

Post: Recovering Linux software RAID, RAID5 Array

… because of client lacking the proper backup or sometimes because recovering RAID might improve recovery, for example you might get point… you can get root login via SSH it can be recovered as any generic Linux server. When you restart the system… case they will be zeroed out and your data potentially corrupted. This is why I prefer to know files affected by…

Comment: Innodb crash recovery update

[...] I wrote we had been recovering corrupted Innodb Tablespace and it is finally done [...]