• Kristian Nielsen's avatar
    MDEV-30889: max_global_memory_used status variable · 74048efb
    Kristian Nielsen authored
    Implement a new status variable max_global_memory_used, which gives the peak
    value of global_memory_used.
    
    When mallinfo2() shows a lot of memory being free in the malloc
    implementation, this can be used to understand if this is because that
    memory was at one point allocated to the server during a peak load situation
    and later freed; or if it is caused by internal fragmentation in the malloc
    implementation.
    Signed-off-by: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
    74048efb
sql_test.cc 21 KB