mariadb/storage/innobase/dict
Marko Mäkelä 8fb09426b9 MDEV-36759: Huge performance drop
In commit b6923420f3 (MDEV-29445)
some hash tables were accidentally created with the minimum size
(101 entries) instead of correctly deriving the size from the
initial innodb_buffer_pool_size. This led to very long hash bucket
chains, which are very slow to traverse.

ut_find_prime(): Assert that the size is nonzero in order to catch
this type of regression in the future.

innodb_init_params(): Do not bother reading buf_pool.curr_size()
when it is known to be 0,

srv_start(): Correctly initialize srv_lock_table_size to 5 times
buf_pool.curr_size(), that is, the buffer pool size in pages,
between invoking buf_pool.create() and lock_sys.create().

btr_search_enable(), dict_sys_t::create(), dict_sys_t::resize():
Correctly refer to buf_pool.curr_pool_size(), that is,
innodb_buffer_pool_size in bytes, when calculating the hash table size.
In MDEV-29445 the expressions buf_pool_get_curr_size() were
accidentally replaced with buf_pool.curr_size().
2025-05-13 12:27:50 +03:00
..
dict0boot.cc Merge branch '10.6' into 10.11 2023-12-18 11:19:04 +01:00
dict0crea.cc Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
dict0defrag_bg.cc MDEV-36122: Protect table references with a lock 2025-03-26 14:31:44 +02:00
dict0dict.cc MDEV-36759: Huge performance drop 2025-05-13 12:27:50 +03:00
dict0load.cc Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
dict0mem.cc Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
dict0stats.cc MDEV-36122: Protect table references with a lock 2025-03-26 14:31:44 +02:00
dict0stats_bg.cc MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
drop.cc Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00