pg_statio_user_tables

显示每个用户表的I/O统计信息的统计视图

pg_statio_user_tables 是一个 统计视图,显示当前数据库中每个用户表的I/O统计信息。

pg_statio_user_tables 添加于 PostgreSQL 7.2(提交 8d80b0d9)。

按PostgreSQL版本定义

pg_statio_user_tables (PostgreSQL 17)

          View "pg_catalog.pg_statio_user_tables"
     Column      |  Type  | Collation | Nullable | Default 
-----------------+--------+-----------+----------+---------
 relid           | oid    |           |          | 
 schemaname      | name   |           |          | 
 relname         | name   |           |          | 
 heap_blks_read  | bigint |           |          | 
 heap_blks_hit   | bigint |           |          | 
 idx_blks_read   | bigint |           |          | 
 idx_blks_hit    | bigint |           |          | 
 toast_blks_read | bigint |           |          | 
 toast_blks_hit  | bigint |           |          | 
 tidx_blks_read  | bigint |           |          | 
 tidx_blks_hit   | bigint |           |          |
    

文档: pg_statio_user_tables

更改历史记录

分类

统计/监控视图

另请参阅

pg_stat_all_tablespg_stat_sys_tablespg_stat_user_tablespg_stat_xact_all_tablespg_stat_xact_user_tablespg_stat_xact_sys_tablespg_statio_all_tablespg_statio_sys_tables

反馈

提交关于 "pg_statio_user_tables" 的任何评论、建议或更正 此处