diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-01-23 13:44:20 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-01-23 13:44:20 +0200 |
commit | 52d13036d81fdaa277c9894784dfefd85cf41287 (patch) | |
tree | 83de3b41dad42dac825eabb9c751b426d76c35c9 /storage/innobase/srv/srv0start.cc | |
parent | f9cc956065c7b6b424309abdb59e981007557827 (diff) | |
download | mariadb-git-52d13036d81fdaa277c9894784dfefd85cf41287.tar.gz |
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.
Diffstat (limited to 'storage/innobase/srv/srv0start.cc')
0 files changed, 0 insertions, 0 deletions