SELECT `performance_schema` . `file_summary_by_instance` . `FILE_NAME` AS `file` , `performance_schema` . `file_summary_by_instance` . `COUNT_READ` AS `count_read` , `performance_schema` . `file_summary_by_instance` . `SUM_NUMBER_OF_BYTES_READ` AS `total_read` , `ifnull` ( ( `performance_schema` . `file_summary_by_instance` . `SUM_NUMBER_OF_BYTES_READ` / `nullif` ( `performance_schema` . `file_summary_by_instance` . `COUNT_READ` , ? ) ) , ? ) AS `avg_read` , `performance_schema` . `file_summary_by_instance` . `COUNT_WRITE` AS `count_write` , `performance_schema` . `file_summary_by_instance` . `SUM_NUMBER_OF_BYTES_WRITE` AS `total_written` , `ifnull` ( ( `performance_schema` . `file_summary_by_instance` . `SUM_NUMBER_OF_BYTES_WRITE` / `nullif` ( `performance_schema` . `file_summary_by_instance` . `COUNT_WRITE` , ? ) ) , ? ) AS `avg_write` , ( `performance_schema` . `file_summary_by_instance` . `SUM_NUMBER_OF_BYTES_READ` + `performance_schema` . `file_summary_by_instance` . 