Updated on 2024-06-03 GMT+08:00

GLOBAL_STATIO_ALL_INDEXES

GLOBAL_STATIO_ALL_INDEXES contains one row for each index in databases on each node, showing I/O statistics about specific indexes, as described in Table 1.

Table 1 GLOBAL_STATIO_ALL_INDEXES columns

Name

Type

Description

node_name

name

Node name.

relid

oid

OID of the table for this index.

indexrelid

oid

OID of the index.

schemaname

name

Name of the schema that the index is in.

relname

name

Name of the table that the index is created for.

indexrelname

name

Index name.

idx_blks_read

numeric

Number of disk blocks read from the index.

idx_blks_hit

numeric

Number of cache hits in the index.

last_updated

timestamp with time zone

Time when the monitoring data of the index in the view is updated for the last time.