summaryrefslogtreecommitdiff
path: root/storage/innobase/include/srv0srv.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2015-12-15 09:30:13 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2015-12-15 09:35:22 +0200
commitb63bf7368b4881789bef931f90d4719b358cf507 (patch)
tree7542a8a4b0a7170e6664502004e141b9ecd3d92c /storage/innobase/include/srv0srv.h
parentaf3c67056d3f9f7f348c612f9ce48e83c8a456d6 (diff)
downloadmariadb-git-b63bf7368b4881789bef931f90d4719b358cf507.tar.gz
MDEV-8923: port innodb_buffer_pool_dump_pct from MySQL
Backport pull request #125 from grooverdan/MDEV-8923_innodb_buffer_pool_dump_pct to 10.0 WL#6504 InnoDB buffer pool dump/load enchantments This patch consists of two parts: 1. Dump only the hottest N% of the buffer pool(s) 2. Prevent hogging the server duing BP load From MySQL - commit b409342c43ce2edb68807100a77001367c7e6b8e Add testcases for innodb_buffer_pool_dump_pct_basic. Part of the code authored by Daniel Black
Diffstat (limited to 'storage/innobase/include/srv0srv.h')
-rw-r--r--storage/innobase/include/srv0srv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h
index 338ad552ab4..6c5b2c523fa 100644
--- a/storage/innobase/include/srv0srv.h
+++ b/storage/innobase/include/srv0srv.h
@@ -306,6 +306,8 @@ extern ulong srv_flush_neighbors; /*!< whether or not to flush
neighbors of a block */
extern ulint srv_buf_pool_old_size; /*!< previously requested size */
extern ulint srv_buf_pool_curr_size; /*!< current size in bytes */
+extern ulong srv_buf_pool_dump_pct; /*!< dump that may % of each buffer
+ pool during BP dump */
extern ulint srv_mem_pool_size;
extern ulint srv_lock_table_size;