MySQL 8.0 Release Notes
MySQL 8.0 Source Code Documentation
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.