• Marko Mäkelä's avatar
    MDEV-17933 slow server status - dict_sys_get_size() · 52d13036
    Marko Mäkelä authored
    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.
    52d13036
srv0srv.cc 110 KB