SELECT `performance_schema` . `memory_summary_global_by_event_name` . `EVENT_NAME` AS `event_name` , `performance_schema` . `memory_summary_global_by_event_name` . `CURRENT_COUNT_USED` AS `current_count` , `performance_schema` . `memory_summary_global_by_event_name` . `CURRENT_NUMBER_OF_BYTES_USED` AS `current_alloc` , `ifnull` ( ( `performance_schema` . `memory_summary_global_by_event_name` . `CURRENT_NUMBER_OF_BYTES_USED` / `nullif` ( `performance_schema` . `memory_summary_global_by_event_name` . `CURRENT_COUNT_USED` , ? ) ) , ? ) AS `current_avg_alloc` , `performance_schema` . `memory_summary_global_by_event_name` . `HIGH_COUNT_USED` AS `high_count` , `performance_schema` . `memory_summary_global_by_event_name` . `HIGH_NUMBER_OF_BYTES_USED` AS `high_alloc` , `ifnull` ( ( `performance_schema` . `memory_summary_global_by_event_name` . `HIGH_NUMBER_OF_BYTES_USED` / `nullif` ( `performance_schema` . `memory_summary_global_by_event_name` . `HIGH_COUNT_USED` , ? ) ) , ? ) AS 