MySQL 9.4 Release Notes
These views summarize total memory use within the server.
The memory_global_total and
x$memory_global_total views have
these columns:
total_allocatedThe total bytes of memory allocated within the server.