pg_statio_user_tables
contains one row for each user table in the current database, showing statistics columns filled with zeros.
pg_statio_user_tables
are applicable to every type of relationpg_statio_user_tables
:
Column | Type | Description |
---|---|---|
relid | int | This column represents the table ID |
relname | text | This column represents the table name |
schemaname | text | This column represents the schema name that this table is in |
heap_blks_read | int | unused |
heap_blks_hit | int | unused |
idx_blks_read | int | unused |
idx_blks_hit | int | unused |
toast_blks_read | int | unused |
toast_blks_hit | int | unused |
tidx_blks_read | int | unused |
tidx_blks_hit | int | unused |
WHERE
clause to look up based on the table name (relname
):