Bug #43638 No progress indicatior during backup and restore operations
Submitted: 13 Mar 2009 18:44 Modified: 17 Mar 2009 22:29
Reporter: Omer Barnir (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Backup Severity:S3 (Non-critical)
Version:6.0.9 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[13 Mar 2009 18:44] Omer Barnir
Description:
I have run a test backing up and restoring a database with a total of about 42M rows (database size around 4.2GB.

The backup took about 4 minutes and the restore about eight hours (the system was idle during both operations).

During both operations there was no way to tell if and how the backup and restore actions are actually progressing or the backup/restore processes are hanging (the server itself was responding and there was no issue with preforming other tasks.

How to repeat:
Set a mysql server
load a large database (such that backup and restore will take more then a few seconds)
Start backup and restore actions
observe that there is no progress so me seen during he operations:
 - processlist shows the thread executing
 - backup_progress table has no changes to it
 - no entries in the error file (only the start and completion of the 
   backup/restore

Suggested fix:
Include some form of a progress indication either by writing a 'note' to the error file or updating the backup_progress table with new / updated records.
[16 Mar 2009 16:15] Hema Sridharan
This defect is duplicate of Bug#39528