SELECT `substring_index` ( `performance_schema` . `file_summary_by_event_name` . `EVENT_NAME` , ? , - (?) ) AS `event_name` , `performance_schema` . `file_summary_by_event_name` . `COUNT_STAR` AS `total` , `sys` . `format_time` ( `performance_schema` . `file_summary_by_event_name` . `SUM_TIMER_WAIT` ) AS `total_latency` , `sys` . `format_time` ( `performance_schema` . `file_summary_by_event_name` . `MIN_TIMER_WAIT` ) AS `min_latency` , `sys` . `format_time` ( `performance_schema` . `file_summary_by_event_name` . `AVG_TIMER_WAIT` ) AS `avg_latency` , `sys` . `format_time` ( `performance_schema` . `file_summary_by_event_name` . `MAX_TIMER_WAIT` ) AS `max_latency` , `performance_schema` . `file_summary_by_event_name` . `COUNT_READ` AS `count_read` , `sys` . `format_bytes` ( `performance_schema` . `file_summary_by_event_name` . `SUM_NUMBER_OF_BYTES_READ` ) AS `total_read` , `sys` . `format_bytes` ( `ifnull` ( ( `performance_schema` . `file_summary_by_event_name` . 