summaryrefslogtreecommitdiff
path: root/storage/innobase/include/buf0buf.h
diff options
context:
space:
mode:
authorJan Lindström <jplindst@mariadb.org>2014-10-25 09:24:39 +0300
committerJan Lindström <jplindst@mariadb.org>2014-10-25 09:24:39 +0300
commit60e995cfecd80ed08bf2e361ff8c2a8a0491d432 (patch)
treede8a992115066d49028a508e40d57257998faad7 /storage/innobase/include/buf0buf.h
parentcff0012d2871296688dde9f043c55800f63b817a (diff)
downloadmariadb-git-60e995cfecd80ed08bf2e361ff8c2a8a0491d432.tar.gz
MDEV-6930: Make innodb_max_dirty_pages_pct my.cnf variable a double
Merged Facebook commit ecff018632c6db49bad73d9233c3cdc9f41430e9 authored by Steaphan Greene from https://github.com/facebook/mysql-5.6 This change is to fix: http://bugs.mysql.com/62534 This makes innodb_max_dirty_pages_pct a double with min,default,max values 0.001, 75, 99.999. This also makes innodb_max_dirty_pages_pct_lwm and adaptive_flushing_lwm doubles, as these sysvars are inter-dependent. Added more to the BUFFER POOL AND MEMORY section of SHOW INNODB STATUS: Percent pages dirty: X.X This is all n_dirty_pages / used_pages Percent all pages dirty: X.X This is all n_dirty_pages / all-pages Max dirty pages percent: X.X This is innodb_max_dirty_pages_pct Also changed all of buf from 2 to 3 digits of precision (%.2f -> %.3f).
Diffstat (limited to 'storage/innobase/include/buf0buf.h')
-rw-r--r--storage/innobase/include/buf0buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h
index 3f2ac4980cf..31ec6b9ef8b 100644
--- a/storage/innobase/include/buf0buf.h
+++ b/storage/innobase/include/buf0buf.h
@@ -794,7 +794,7 @@ Returns the ratio in percents of modified pages in the buffer pool /
database pages in the buffer pool.
@return modified page percentage ratio */
UNIV_INTERN
-ulint
+double
buf_get_modified_ratio_pct(void);
/*============================*/
/**********************************************************************//**