summaryrefslogtreecommitdiff
path: root/innobase/buf
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/buf')
-rw-r--r--innobase/buf/buf0buf.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c
index 80e89e16588..e3a4ae50a23 100644
--- a/innobase/buf/buf0buf.c
+++ b/innobase/buf/buf0buf.c
@@ -1707,10 +1707,11 @@ buf_print(void)
mutex_enter(&(buf_pool->mutex));
- printf("LRU len %lu \n", UT_LIST_GET_LEN(buf_pool->LRU));
- printf("free len %lu \n", UT_LIST_GET_LEN(buf_pool->free));
- printf("flush len %lu \n", UT_LIST_GET_LEN(buf_pool->flush_list));
printf("buf_pool size %lu \n", size);
+ printf("database pages %lu \n", UT_LIST_GET_LEN(buf_pool->LRU));
+ printf("free pages %lu \n", UT_LIST_GET_LEN(buf_pool->free));
+ printf("modified database pages %lu \n",
+ UT_LIST_GET_LEN(buf_pool->flush_list));
printf("n pending reads %lu \n", buf_pool->n_pend_reads);
@@ -1819,13 +1820,20 @@ buf_print_io(
mutex_enter(&(buf_pool->mutex));
buf += sprintf(buf,
- "Free list length %lu \n", UT_LIST_GET_LEN(buf_pool->free));
+ "Buffer pool size %lu\n", size);
+ buf += sprintf(buf,
+ "Free buffers %lu\n", UT_LIST_GET_LEN(buf_pool->free));
+ buf += sprintf(buf,
+ "Database pages %lu\n", UT_LIST_GET_LEN(buf_pool->LRU));
+/*
+ buf += sprintf(buf,
+ "Lock heap buffers %lu\n", buf_pool->n_lock_heap_pages);
buf += sprintf(buf,
- "LRU list length %lu \n", UT_LIST_GET_LEN(buf_pool->LRU));
+ "Hash index buffers %lu\n", buf_pool->n_adaptive_hash_pages);
+*/
buf += sprintf(buf,
- "Flush list length %lu \n",
+ "Modified db pages %lu\n",
UT_LIST_GET_LEN(buf_pool->flush_list));
- buf += sprintf(buf, "Buffer pool size %lu\n", size);
buf += sprintf(buf, "Pending reads %lu \n", buf_pool->n_pend_reads);