x$schema_table_statistics_with_buffer
This page is part of MariaDB's Documentation.
The parent of this page is: Sys Database Tables for MariaDB Enterprise Server
Topics on this page:
Overview
DETAILS
SCHEMA
VIEW `x$schema_table_statistics_with_buffer` AS SELECT
`pst`.`OBJECT_SCHEMA` AS `table_schema`,
`pst`.`OBJECT_NAME` AS `table_name`,
`pst`.`COUNT_FETCH` AS `rows_fetched`,
`pst`.`SUM_TIMER_FETCH` AS `fetch_latency`,
`pst`.`COUNT_INSERT` AS `rows_inserted`,
`pst`.`SUM_TIMER_INSERT` AS `insert_latency`,
`pst`.`COUNT_UPDATE` AS `rows_updated`,
`pst`.`SUM_TIMER_UPDATE` AS `update_latency`,
`pst`.`COUNT_DELETE` AS `rows_deleted`,
`pst`.`SUM_TIMER_DELETE` AS `delete_latency`,
`fsbi`.`count_read` AS `io_read_requests`,
`fsbi`.`sum_number_of_bytes_read` AS `io_read`,
`fsbi`.`sum_timer_read` AS `io_read_latency`,
`fsbi`.`count_write` AS `io_write_requests`,
`fsbi`.`sum_number_of_bytes_write` AS `io_write`,
`fsbi`.`sum_timer_write` AS `io_write_latency`,
`fsbi`.`count_misc` AS `io_misc_requests`,
`fsbi`.`sum_timer_misc` AS `io_misc_latency`,
`ibp`.`allocated` AS `innodb_buffer_allocated`,
`ibp`.`data` AS `innodb_buffer_data`,
`ibp`.`allocated` - `ibp`.`data` AS `innodb_buffer_free`,
`ibp`.`pages` AS `innodb_buffer_pages`,
`ibp`.`pages_hashed` AS `innodb_buffer_pages_hashed`,
`ibp`.`pages_old` AS `innodb_buffer_pages_old`,
`ibp`.`rows_cached` AS `innodb_buffer_rows_cached`
FROM ((`performance_schema`.`table_io_waits_summary_by_table` `pst` left join `sys`.`x$ps_schema_table_statistics_io` `fsbi` on(`pst`.`OBJECT_SCHEMA` = `fsbi`.`table_schema` and `pst`.`OBJECT_NAME` = `fsbi`.`table_name`)) left join `sys`.`x$innodb_buffer_stats_by_table` `ibp` on(`pst`.`OBJECT_SCHEMA` = `ibp`.`object_schema` and `pst`.`OBJECT_NAME` = `ibp`.`object_name`)) order by `pst`.`SUM_TIMER_WAIT` desc