mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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:
|
|||||||
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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user