Re: 07364d701b3: Added status variable "Max_memory_used" to SHOW STATUS
Hi, Michael, On Dec 22, Michael Widenius wrote:
revision-id: 07364d701b3 (mariadb-10.6.20-64-g07364d701b3) parent(s): 13fed908291 author: Michael Widenius committer: Michael Widenius timestamp: 2024-12-17 10:45:26 +0200 message:
Added status variable "Max_memory_used" to SHOW STATUS
This shows the maximum memory allocations used by the current connection. The value for @@global.max_memory_used is 0 as we are not collecting this value as it would cause a notable performance issue registering this for all threads for every memory allocation
Showing 0 is very confusing. I suggest not to print this variable in SHOW GLOBAL STATUS at all (probably possible, by returning a zero-length SHOW_ARRAY). Or show it as NULL. Regards, Sergei Chief Architect, MariaDB Server and security@mariadb.org
participants (1)
-
Sergei Golubchik