mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
dict0mem.c, dict0dict.c, row0mysql.c, dict0mem.h:
Do less statistics calculations for tables dict0mem.h, row0mysql.c: Make calculation of new statistics less frequent, because the statistics in 3.23.44 involves many random disk reads innobase/include/dict0mem.h: Do less statistics calculations for tables innobase/row/row0mysql.c: Do less statistics calculations for tables innobase/dict/dict0dict.c: Do less statistics calculations for tables innobase/dict/dict0mem.c: Do less statistics calculations for tables
This commit is contained in:
parent
56a8ad593e
commit
b41e57a70e
4 changed files with 52 additions and 27 deletions
|
|
@ -73,9 +73,9 @@ dict_mem_table_create(
|
|||
|
||||
table->does_not_fit_in_memory = FALSE;
|
||||
|
||||
table->stat_last_estimate_counter = (ulint)(-1);
|
||||
table->stat_initialized = FALSE;
|
||||
|
||||
table->stat_modif_counter = 0;
|
||||
table->stat_modified_counter = 0;
|
||||
|
||||
mutex_create(&(table->autoinc_mutex));
|
||||
mutex_set_level(&(table->autoinc_mutex), SYNC_DICT_AUTOINC_MUTEX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue