Feature Request: more verbose output during initial table scan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Wishlist
|
Alexey Kopytov | ||
2.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.2 |
Fix Released
|
Wishlist
|
Alexey Kopytov | ||
2.3 |
Fix Released
|
Wishlist
|
Alexey Kopytov |
Bug Description
We ran innobackupex-1.5.1 to test it on our development system, 125 total databases, consisting of 23768 tables in innodb format (innodb_
When doing the initial table scan, there is a long pause where nothing is printed out. On our system with a lot of db's and tables, I initially though that long period of inactivity might be a lock-up. An strace showed that it was in fact reading in massive amounts of database info, so outputting a "Generating db/table list" type of message would be a helpful message to people with large numbers of tables.
On the opposite end, there could possibly also be a --quiet option that will suppress the "Copying $FILE to $DESTFILE" messages when it is copying all of the messages. If you think that &>/dev/null is a sufficient synonym for --quiet, then I am quite happy with that too.
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 48 lines (+22/-0)3 files modifiedstorage/innobase/xtrabackup/innobackupex.pl (+5/-0)
storage/innobase/xtrabackup/src/xtrabackup.cc (+2/-0)
storage/innobase/xtrabackup/test/t/bug369913.sh (+15/-0)
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Yasufumi Kinoshita (yasufumi-kinoshita) |
tags: | removed: feature-request |
We just used innobackupex again to restore a production slave from scratch. It worked fantastic! I would like to request one additional verbose output addition. At the start of the process, print the date/time, and at the end of the process, print the date/time again. Analyzing this data allows us to estimate duration of current and future scripted events based on the known size of databases.
I usually do "innobackupex-1.5.1 ... 2&>1 | tee /tmp/innobackup ex.log" so it would be nice to be able to head and tail the file and get duration of the operation.