STATIO_ALL_TABLES
STATIO_ALL_TABLES视图显示数据库当前节点每张表(包括TOAST表)的I/O状态信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| relid | oid | 表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表读取的磁盘块数(如果存在)。 |
| toast_blks_hit | bigint | 该表的TOAST表命中缓冲区数(如果存在)。 |
| tidx_blks_read | bigint | 该表的TOAST表索引读取的磁盘块数(如果存在)。 |
| tidx_blks_hit | bigint | 该表的TOAST表索引命中缓冲区数(如果存在)。 |