RefLib

Reference library for AI

Back

postgresql_16:4.13.2.21 pg_statio_all_indexes

PostgreSQL 16 > Server Administration > Monitoring Database Activity > The Cumulative Statistics System > pg_statio_all_indexes

The pg_statio_all_indexes view will contain one row for each index in the current database, showing statistics about I/O on that specific index. The pg_statio_user_indexes and pg_statio_sys_indexes views contain the same information, but filtered to only show user and system indexes respectively.

| Column Type Description | | --- | | relid oid OID of the table for this index | | 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 this index | | idx_blks_hit bigint Number of buffer hits in this index |

Back