MySQL 8.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_allocated
The total bytes of memory allocated within the server.