Innodb_onlineddl_rowlog_rows
Shows how many rows are stored in row log buffer.
Innodb_onlineddl_rowlog_pct_used
Shows row log buffer usage in percent ( *100%, it's 4-digit. 10000 means 100.00% ).
Innodb_onlineddl_pct_progress
Shows the progress of inplace alter table. It might be not so accurate becuase inplace alter is highly depend on disk and buffer pool status.
But still it is useful and better than nothing.
Add some log for inplace alter table
XtraDB/InnoDB will print some message before and after doing some task.
Attachments
Issue Links
causes
MDEV-12625total_index_blocks is uninitialized in ALTER TABLE…ALGORITHM=INPLACE of small tables
Closed
relates to
MDEV-12512Accurately report progress for ALTER TABLE...ALGORITHM=INPLACE
Open
MDEV-10509Excessive InnoDB logging on release server
Jan Lindström (Inactive)
added a comment - See: http://kakao-dbe.blogspot.kr/2014/09/mysql-status-variables-for-innodb.html and http://seonguck.blogspot.kr/2014/09/what-is-problem-of-mysql-online-ddl.html
In final merge I will not use sql_print_warning(); because that will produce several unnecessary test failures : Found warnings/errors in server log file! in mtr testing. Instead of sql_print_warning() we use sql_print_information()
Jan Lindström (Inactive)
added a comment - In final merge I will not use sql_print_warning(); because that will produce several unnecessary test failures : Found warnings/errors in server log file! in mtr testing. Instead of sql_print_warning() we use sql_print_information()
MDEV-6812: Merge Kakao: Add global status variables which tell
you the progress of inplace alter table and row log buffer usage
(x 100%, it's 4-digit. 10000 means 100.00%)
Innodb_onlineddl_rowlog_rows
Shows how many rows are stored in row log buffer.
Innodb_onlineddl_rowlog_pct_used
Shows row log buffer usage in percent ( *100%, it's 4-digit. 10000 me
ans 100.00% ).
Innodb_onlineddl_pct_progress
Shows the progress of inplace alter table. It might
be not so accurate because inplace alter is highly
depend on disk and buffer pool status.
But still it is useful and better than nothing.
Add some log for inplace alter table
XtraDB/InnoDB will print some message before and
after doing some task.
Jan Lindström (Inactive)
added a comment - commit fc2df3c637d51c4ab32132e2d8f63dbe7e80f056
Author: Jan Lindström <jan.lindstrom@skysql.com>
Date: Tue Sep 30 14:50:34 2014 +0300
MDEV-6812 : Merge Kakao: Add global status variables which tell
you the progress of inplace alter table and row log buffer usage
(x 100%, it's 4-digit. 10000 means 100.00%)
Innodb_onlineddl_rowlog_rows
Shows how many rows are stored in row log buffer.
Innodb_onlineddl_rowlog_pct_used
Shows row log buffer usage in percent ( *100%, it's 4-digit. 10000 me
ans 100.00% ).
Innodb_onlineddl_pct_progress
Shows the progress of inplace alter table. It might
be not so accurate because inplace alter is highly
depend on disk and buffer pool status.
But still it is useful and better than nothing.
Add some log for inplace alter table
XtraDB/InnoDB will print some message before and
after doing some task.
See: http://kakao-dbe.blogspot.kr/2014/09/mysql-status-variables-for-innodb.html and http://seonguck.blogspot.kr/2014/09/what-is-problem-of-mysql-online-ddl.html