Browse Source
MDEV-17933 slow server status - dict_sys_get_size()
MDEV-17933 slow server status - dict_sys_get_size()
dict_sys_get_size(): Replace the time-consuming loop with a crude estimate that can be computed without holding any mutex. Even before dict_sys->size was removed in MDEV-13325, not all memory allocations by the InnoDB data dictionary cache were being accounted for. One example is foreign key constraints. Another example is virtual column metadata, starting with 10.2.pull/1126/head
4 changed files with 25 additions and 61 deletions
-
38storage/innobase/dict/dict0dict.cc
-
4storage/innobase/srv/srv0srv.cc
-
38storage/xtradb/dict/dict0dict.cc
-
6storage/xtradb/srv/srv0srv.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue