Updated on 2023-12-29 GMT+08:00

PG_STATIO_ALL_INDEXES

PG_STATIO_ALL_INDEXES displays I/O statistics of all indexes in the current database.

Table 1 PG_STATIO_ALL_INDEXES columns

Name

Type

Description

relid

oid

OID of the index table

indexrelid

oid

OID of this index

schemaname

name

Name of the schema this index is in

relname

name

Name of the table for this index

indexrelname

name

Name of this index

idx_blks_read

bigint

Number of disk blocks read from the index

idx_blks_hit

bigint

Number of buffer hits in this index