Bug #39528 | No progress bar for backup/restore operation | ||
---|---|---|---|
Submitted: | 18 Sep 2008 23:38 | Modified: | 29 Jun 2009 14:41 |
Reporter: | Hema Sridharan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S4 (Feature request) |
Version: | mysql-6.0-backup | OS: | Linux |
Assigned to: | Chuck Bell | CPU Architecture: | Any |
[18 Sep 2008 23:38]
Hema Sridharan
[29 Apr 2009 19:05]
Chuck Bell
The problem is the backup kernel and the drivers do not agree on what is being reported as percent complete. Is it bytes read, records read, objects read, etc.? A more thorough change in the underlining backup drivers is needed to fully support progress tracking with any accuracy. Furthermore, the level of changes may require redesign of the progress log and progress reporting in general inside the backup code. Thus, this bug should be reevaluated as a 6.1 feature request.
[13 May 2009 21:40]
Chuck Bell
After review of this bug, there is only one clear solution. We must removed these unused columns until WL#4815 is completed. Thus, the patch for this bug shall remove the following columns from the logs, code, and tests. The existing worklog shall be were the redesign for how the progress of backup and restore operations are recorded.
[13 May 2009 21:45]
Chuck Bell
These are the columns removed: ALTER TABLE backup_progress DROP COLUMN start_time; ALTER TABLE backup_progress DROP COLUMN stop_time; ALTER TABLE backup_progress DROP COLUMN total_bytes; ALTER TABLE backup_progress DROP COLUMN progress;
[14 May 2009 13:55]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/74061 2810 Chuck Bell 2009-05-14 BUG#39528 : No progress bar for backup/restore operation There are several unused columns in the backup progress log. These columns include start_time, stop_time, total_bytes, and progress. All of these are set to 0 by default and except for when the validity point is reported (only start_time gets set), none of these columns are set. This is confusing for the users who expect to see progress reported. WL#4815 was created to address this problem and to design a clear progress tracking mechanism for MySQL Backup. Until that work is completed, these extra columns must be removed. This patch removes the extra columns from the log and source code. modified: mysql-test/suite/backup/r/backup_logs.result mysql-test/suite/backup/r/backup_logs_purge.result mysql-test/suite/backup/t/backup_logs.test scripts/mysql_system_tables.sql scripts/mysql_system_tables_fix.sql sql/log.cc sql/log.h
[14 May 2009 14:01]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/74063 2810 Chuck Bell 2009-05-14 BUG#39528 : No progress bar for backup/restore operation There are several unused columns in the backup progress log. These columns include start_time, stop_time, total_bytes, and progress. All of these are set to 0 by default and except for when the validity point is reported (only start_time gets set), none of these columns are set. This is confusing for the users who expect to see progress reported. WL#4815 was created to address this problem and to design a clear progress tracking mechanism for MySQL Backup. Until that work is completed, these extra columns must be removed. This patch removes the extra columns from the log and source code. modified: mysql-test/suite/backup/r/backup_logs.result mysql-test/suite/backup/r/backup_logs_purge.result mysql-test/suite/backup/t/backup_logs.test scripts/mysql_system_tables.sql scripts/mysql_system_tables_fix.sql sql/log.cc sql/log.h
[15 May 2009 15:48]
Hema Sridharan
Patch approved.
[19 May 2009 19:26]
Jørgen Løland
Patch approved
[19 May 2009 21:50]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/74528 2700 Chuck Bell 2009-05-19 BUG#39528 : No progress bar for backup/restore operation There are several unused columns in the backup progress log. These columns include start_time, stop_time, total_bytes, and progress. All of these are set to 0 by default and except for when the validity point is reported (only start_time gets set), none of these columns are set. This is confusing for the users who expect to see progress reported. WL#4815 was created to address this problem and to design a clear progress tracking mechanism for MySQL Backup. Until that work is completed, these extra columns must be removed. This patch removes the extra columns from the log and source code. modified: mysql-test/suite/backup/r/backup_logs.result mysql-test/suite/backup/r/backup_logs_purge.result mysql-test/suite/backup/t/backup_logs.test scripts/mysql_system_tables.sql scripts/mysql_system_tables_fix.sql sql/log.cc sql/log.h
[20 May 2009 12:14]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/74591 2701 Chuck Bell 2009-05-20 BUG#39528 : No progress bar for backup/restore operation There are several unused columns in the backup progress log. These columns include start_time, stop_time, total_bytes, and progress. All of these are set to 0 by default and except for when the validity point is reported (only start_time gets set), none of these columns are set. This is confusing for the users who expect to see progress reported. WL#4815 was created to address this problem and to design a clear progress tracking mechanism for MySQL Backup. Until that work is completed, these extra columns must be removed. This patch removes the extra columns from the log and source code. modified: mysql-test/suite/backup/r/backup_logs.result mysql-test/suite/backup/r/backup_logs_purge.result mysql-test/suite/backup/t/backup_logs.test scripts/mysql_system_tables.sql scripts/mysql_system_tables_fix.sql sql/log.cc sql/log.h
[3 Jun 2009 7:18]
Jørgen Løland
Merged to azalea June 2
[29 Jun 2009 14:41]
Paul DuBois
No changelog entry needed. Not in any released version.
[16 Jun 2011 12:12]
Bangaru Sivaprasad
Hello, I also working on taking the backup of mysql using mysqldump option and able to take the backup. Now, I want to monitor the backup means progress of the backup. How much backup percent completed? How much backup left? Total backup size? Can anyone help me on this? Regards, Shiva.
[21 Jun 2011 9:58]
Bangaru Sivaprasad
Any body there to help in MySQL backup process. How to check the percent of backup done and percent of backup remaining. -Shivaprasad