Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 43.2Mb
PDF (A4) - 43.3Mb
Man Pages (TGZ) - 296.4Kb
Man Pages (Zip) - 401.6Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  The schema_table_statistics and x$schema_table_statistics Views

30.4.3.29 The schema_table_statistics and x$schema_table_statistics Views

These views summarize table statistics. By default, rows are sorted by descending total wait time (tables with most contention first).

These views user a helper view, x$ps_schema_table_statistics_io.

The schema_table_statistics and x$schema_table_statistics views have these columns:

  • table_schema

    The schema that contains the table.

  • table_name

    The table name.

  • total_latency

    The total wait time of timed I/O events for the table.

  • rows_fetched

    The total number of rows read from the table.

  • fetch_latency

    The total wait time of timed read I/O events for the table.

  • rows_inserted

    The total number of rows inserted into the table.

  • insert_latency

    The total wait time of timed insert I/O events for the table.

  • rows_updated

    The total number of rows updated in the table.

  • update_latency

    The total wait time of timed update I/O events for the table.

  • rows_deleted

    The total number of rows deleted from the table.

  • delete_latency

    The total wait time of timed delete I/O events for the table.

  • io_read_requests

    The total number of read requests for the table.

  • io_read

    The total number of bytes read from the table.

  • io_read_latency

    The total wait time of reads from the table.

  • io_write_requests

    The total number of write requests for the table.

  • io_write

    The total number of bytes written to the table.

  • io_write_latency

    The total wait time of writes to the table.

  • io_misc_requests

    The total number of miscellaneous I/O requests for the table.

  • io_misc_latency

    The total wait time of miscellaneous I/O requests for the table.