summaryrefslogtreecommitdiff
path: root/storage/innobase/include/row0log.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@skysql.com>2014-09-30 14:50:34 +0300
committerJan Lindström <jan.lindstrom@skysql.com>2014-09-30 14:50:34 +0300
commitfc2df3c637d51c4ab32132e2d8f63dbe7e80f056 (patch)
tree569f3bcfb1008adbe2172e1e8e5dd04010454694 /storage/innobase/include/row0log.h
parentbef30f2e306dc6107f0ec314bf7bde8939c124e1 (diff)
downloadmariadb-git-fc2df3c637d51c4ab32132e2d8f63dbe7e80f056.tar.gz
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 means 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.
Diffstat (limited to 'storage/innobase/include/row0log.h')
-rw-r--r--storage/innobase/include/row0log.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/include/row0log.h b/storage/innobase/include/row0log.h
index 62715fe8808..f105838eece 100644
--- a/storage/innobase/include/row0log.h
+++ b/storage/innobase/include/row0log.h
@@ -35,6 +35,10 @@ Created 2011-05-26 Marko Makela
#include "trx0types.h"
#include "que0types.h"
+extern ulint onlineddl_rowlog_rows;
+extern ulint onlineddl_rowlog_pct_used;
+extern ulint onlineddl_pct_progress;
+
/******************************************************//**
Allocate the row log for an index and flag the index
for online creation.