↑↓ 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_all_tables

Read the 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.

Reading PG 18current·documented in 24 of 24 versions, 7.4 to 20

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

Columns 11

As listed in the PostgreSQL 18 manual.

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 6
  1. 18 → 19 changed
  2. 12 → 13 reworded
  3. 9.3 → 9.4 reworded
  4. 9.1 → 9.2 reworded
  5. 8.4 → 9.0 columns not listed
  6. 8.0 → 8.1 reworded

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