summaryrefslogtreecommitdiff
path: root/innobase/include/buf0buf.h
diff options
context:
space:
mode:
authorunknown <tim@white.box>2001-08-30 13:18:06 -0400
committerunknown <tim@white.box>2001-08-30 13:18:06 -0400
commite6a8e97c48729d310012a8058b70c66c38be36cb (patch)
tree953b2c369d546eaed430ccd468ea8cf2315e42a6 /innobase/include/buf0buf.h
parente39aaf80738a21402eadf09eb42576bbb47fac0b (diff)
parent16a2502047f67e40598eb40173462c3003da6a5f (diff)
downloadmariadb-git-e6a8e97c48729d310012a8058b70c66c38be36cb.tar.gz
Merge work.mysql.com:/home/bk/mysql into white.box:/home/tim/my/3
Diffstat (limited to 'innobase/include/buf0buf.h')
-rw-r--r--innobase/include/buf0buf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/innobase/include/buf0buf.h b/innobase/include/buf0buf.h
index 8b22561adf8..66071030402 100644
--- a/innobase/include/buf0buf.h
+++ b/innobase/include/buf0buf.h
@@ -771,6 +771,17 @@ struct buf_pool_struct{
ulint n_pages_written;/* number write operations */
ulint n_pages_created;/* number of pages created in the pool
with no read */
+ ulint n_page_gets; /* number of page gets performed;
+ also successful seraches through
+ the adaptive hash index are
+ counted as page gets; this field
+ is NOT protected by the buffer
+ pool mutex */
+ ulint n_page_gets_old;/* n_page_gets when buf_print was
+ last time called: used to calculate
+ hit rate */
+ ulint n_pages_read_old;/* n_pages_read when buf_print was
+ last time called */
/* 2. Page flushing algorithm fields */
UT_LIST_BASE_NODE_T(buf_block_t) flush_list;