You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YZWL/IDEA/sys/memory_global_total.sql

5 lines
274 B

create definer = `mysql.sys`@localhost view sys.memory_global_total as
select format_bytes(sum(`performance_schema`.`memory_summary_global_by_event_name`.`CURRENT_NUMBER_OF_BYTES_USED`)) AS `total_allocated`
from `performance_schema`.`memory_summary_global_by_event_name`;