PG_STAT_USER_INDEXES
PG_STAT_USER_INDEXES displays information about the index status of user-defined ordinary tables and TOAST tables. For details about the columns, see Table 1.
| Name | Type | Description |
|---|---|---|
| relid | oid | OID of the table that the index is created for. |
| indexrelid | oid | OID of the index |
| schemaname | name | Name of the schema that the index is in |
| relname | name | Name of the table for the index |
| indexrelname | name | Index name |
| idx_scan | bigint | Number of index scans initiated 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. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.