select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / STATISTICS VIEWS

pg_statio_user_tables

Read PG 18 manual ↗

The pg_statio_all_tables view will contain one row for each table in the current database (including TOAST tables), showing statistics about I/O on that specific table.

Kind
Statistics views
Columns in this snapshot
11
Definition source
English manual

Columns 11

ColumnTypeDescription / reference
relidoidOID of a table
schemanamenameName of the schema that this table is in
relnamenameName of this table
heap_blks_readbigintNumber of disk blocks read from this table
heap_blks_hitbigintNumber of buffer hits in this table
idx_blks_readbigintNumber of disk blocks read from all indexes on this table
idx_blks_hitbigintNumber of buffer hits in all indexes on this table
toast_blks_readbigintNumber of disk blocks read from this table's TOAST table (if any)
toast_blks_hitbigintNumber of buffer hits in this table's TOAST table (if any)
tidx_blks_readbigintNumber of disk blocks read from this table's TOAST table indexes (if any)
tidx_blks_hitbigintNumber of buffer hits in this table's TOAST table indexes (if any)
Column history across versions
Version history 3
  1. PG 18 → 19changed
  2. PG 9.3 → 9.4changed
  3. PG 9.1 → 9.2changed

Definition snapshot: english-manuals:ebfeb7a1856444f08ffcf7df365… · English manual source