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

GLOBAL_STAT_ALL_INDEXES

Displays the access information about each index on each node of the database in the cluster. It is used on the CN. The status information of each index on each node is not summed up, as described in Table 1.

Table 1 GLOBAL_STAT_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 where the index is located.

relname

name

Name of the table for the index.

indexrelname

name

Index name.

idx_scan

bigint

Number of index scans performed on the index.

idx_tup_read

bigint

Number of index entries returned by scans on the index.

idx_tup_fetch

bigint

Number of live rows fetched in the original table by a simple index scan that uses 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.