select open change scope Open full search

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

SYSTEM CATALOGS / STATISTICS VIEWS

pg_stat_sys_indexes

Read PG 18 manual ↗

The pg_stat_all_indexes view will contain one row for each index in the current database, showing statistics about accesses to that specific index.

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

Columns 9

ColumnTypeDescription / reference
relidoidOID of the table for this index
indexrelidoidOID of this index
schemanamenameName of the schema this index is in
relnamenameName of the table for this index
indexrelnamenameName of this index
idx_scanbigintNumber of index scans initiated on this index
last_idx_scantimestamp with time zoneThe time of the last scan on this index, based on the most recent transaction stop time
idx_tup_readbigintNumber of index entries returned by scans on this index
idx_tup_fetchbigintNumber of live table rows fetched by simple index scans using this index
Column history across versions
Version history 3
  1. PG 18 → 19changed
  2. PG 15 → 16changed
  3. PG 9.1 → 9.2changed

Definition snapshot: english-manuals:268b49c451fb0431730879a0b44… · English manual source