May 25, 2012

Comment: How to change innodb_log_file_size safely

… move them). The end result was: I could only use mysqldump to import all the data into a clean/fresh innodb…

Post: Best kept MySQLDump Secret

… row in set (0.00 sec) SESSION2: root@ubuntu:~/dump# mysqldump –single-transaction dumptest > dump.sql SESSION1: (before dump has completed… at the same time as mysqldump was running we got table empty table with new structure in mysqldump instead of table with…. What are potential solutions for this problem ? you can use mysqldump –lock-all-tables instead which does not have this problem…

Comment: Best kept MySQLDump Secret

… on windows2003 mysql 5.5.15 while mysqldump is going , alter table was BLOCKED! Eventually mysqldump got the old table definition and…

Comment: Best kept MySQLDump Secret

… from http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html : “While a –single-transaction dump is in process, to… be dumped can cause the SELECT that is performed by mysqldump to retrieve the table contents to obtain incorrect contents or…

Comment: Best kept MySQLDump Secret

Eric, I tested it with MySQL 5.5 I think what huarong had is just different timing. ALTER TABLE Will be blocked if that table is being dumped right now. However if mysqldump is processing table “A” and you’re altering table “Z” at this time Alter Table will not be blocked.

Comment: Best kept MySQLDump Secret

I wrote about the alter table issue a few years ago and filed bug http://bugs.mysql.com/bug.php?id=28432 which was incorrectly closed as fixed. I’m surprised that more people weren’t upset about it. Maybe I should have added notes about mysqldump.

Comment: Is DRBD the right choice for me?

… activity. Locking the master and dumping the master database via mysqldump can take 20+ minutes on a database of reasonable size…

Comment: Announcing Percona XtraBackup 1.9.1

… objects, so I don’t have to do an extra mysqldump -d to cover these…

Post: An argument for not using mysqldump

I have a 5G mysqldump which takes 30 minutes to restore from backup.  That … take 30×10=5 hours to restore.  Right?  Wrong. Mysqldump recovery time is not linear.  Bigger tables, or tables…) * 1024)/70/60 = ~17 minutes I can tell progress with mysqldump by monitoring the rate at which show global status like…

Post: Wishes for mysqldump

… corrupted database I’ve got couple of feature ideas for mysqldump or similar tool and appropriate import tool Dump in parallel… will have some of the them crashing Innodb which breaks mysqldump process. It would be great for load script to record…