Commit 00fd88c9 authored by unknown's avatar unknown

buf0lru.c, buf0flu.c:

  Better warning message if more than 4 / 5 of the buffer pool is consumed by locks of adaptive hash index


innobase/buf/buf0flu.c:
  Better warning message if more than 4 / 5 of the buffer pool is consumed by locks of adaptive hash index
innobase/buf/buf0lru.c:
  Better warning message if more than 4 / 5 of the buffer pool is consumed by locks of adaptive hash index
parent d27355fb
...@@ -531,7 +531,8 @@ buf_flush_try_page( ...@@ -531,7 +531,8 @@ buf_flush_try_page(
rw_lock_s_lock_gen(&(block->lock), BUF_IO_WRITE); rw_lock_s_lock_gen(&(block->lock), BUF_IO_WRITE);
if (buf_debug_prints) { if (buf_debug_prints) {
printf("Flushing single page space %lu, page no %lu \n", printf(
"Flushing single page space %lu, page no %lu \n",
block->space, block->offset); block->space, block->offset);
} }
......
...@@ -228,9 +228,12 @@ loop: ...@@ -228,9 +228,12 @@ loop:
fprintf(stderr, fprintf(stderr,
" InnoDB: WARNING: over 4 / 5 of the buffer pool is occupied by\n" " InnoDB: WARNING: over 4 / 5 of the buffer pool is occupied by\n"
"InnoDB: lock heaps or the adaptive hash index! Check that your\n" "InnoDB: lock heaps or the adaptive hash index! Check that your\n"
"InnoDB: transactions do not set too many row locks. Starting InnoDB\n" "InnoDB: transactions do not set too many row locks.\n"
"InnoDB: Monitor to print diagnostics, including lock heap and hash index\n" "InnoDB: Your buffer pool size is %lu MB. Maybe you should make\n"
"InnoDB: sizes.\n"); "InnoDB: the buffer pool bigger?\n"
"InnoDB: Starting the InnoDB Monitor to print diagnostics, including\n"
"InnoDB: lock heap and hash index sizes.\n",
buf_pool->curr_size / (1024 * 1024 / UNIV_PAGE_SIZE));
srv_print_innodb_monitor = TRUE; srv_print_innodb_monitor = TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment