summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2015-03-24 16:53:28 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2015-03-24 16:53:28 +1100
commit065a435f6b1d1b3fcb640d59c3109d0c2e24d308 (patch)
tree42afc56044124d804a9d482297ff9e240c542164 /tools
parent62ece8e80b452b2b19db718505b22488d9b7639b (diff)
downloadmongo-065a435f6b1d1b3fcb640d59c3109d0c2e24d308.tar.gz
Add statistics to track internal/overflow/leaf pages in cache.
It is often useful to know if a cache is full of internal pages. I could have added page count tracking, but byte count tracking seems more useful (enough to justify the extra performance overhead).
Diffstat (limited to 'tools')
-rw-r--r--tools/wtstats/stat_data.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/wtstats/stat_data.py b/tools/wtstats/stat_data.py
index 43ae5055172..a4fc2fcc831 100644
--- a/tools/wtstats/stat_data.py
+++ b/tools/wtstats/stat_data.py
@@ -7,6 +7,9 @@ no_scale_per_second_list = [
'cache: maximum page size at eviction',
'cache: pages currently held in the cache',
'cache: percentage overhead',
+ 'cache: tracked bytes belonging to internal pages in the cache',
+ 'cache: tracked bytes belonging to leaf pages in the cache',
+ 'cache: tracked bytes belonging to overflow pages in the cache',
'cache: tracked dirty bytes in the cache',
'cache: tracked dirty pages in the cache',
'connection: files currently open',
@@ -63,6 +66,9 @@ no_clear_list = [
'cache: maximum bytes configured',
'cache: pages currently held in the cache',
'cache: percentage overhead',
+ 'cache: tracked bytes belonging to internal pages in the cache',
+ 'cache: tracked bytes belonging to leaf pages in the cache',
+ 'cache: tracked bytes belonging to overflow pages in the cache',
'cache: tracked dirty bytes in the cache',
'cache: tracked dirty pages in the cache',
'connection: files currently open',