Updated on 2022-07-29 GMT+08:00

PG_STAT_USER_INDEXES

PG_STAT_USER_INDEXES displays information about the index status of user-defined ordinary tables and TOAST tables.

Table 1 PG_STAT_USER_INDEXES columns

Name

Type

Description

relid

oid

Table OID for the index

indexrelid

oid

Index OID

schemaname

name

Schema name for the index

relname

name

Table name for the index

indexrelname

name

Index name

idx_scan

bigint

Number of index scans

idx_tup_read

bigint

Number of index entries returned by scans on this index

idx_tup_fetch

bigint

Number of rows that have live data fetched by index scans