Updated on 2022-07-29 GMT+08:00

PG_STATIO_USER_TABLES

PG_STATIO_USER_TABLES displays the I/O status information about all the user relation tables in the namespace.

Table 1 PG_STATIO_USER_TABLES columns

Name

Type

Description

relid

oid

Table OID

schemaname

name

Schema name of the table

relname

name

Table name

heap_blks_read

bigint

Number of disk blocks read from this table

heap_blks_hit

bigint

Number of buffer hits in this table

idx_blks_read

bigint

Number of disk blocks read from the index in this table

idx_blks_hit

bigint

Number of buffer hits in all indexes on this table

toast_blks_read

bigint

Number of disk blocks read from the TOAST table (if any) in this table

toast_blks_hit

bigint

Number of buffer hits in the TOAST table (if any) in this table

tidx_blks_read

bigint

Number of disk blocks read from the TOAST table index (if any) in this table

tidx_blks_hit

bigint

Number of buffer hits in the TOAST table index (if any) in this table