2026年8月18日(火) 21:58 SASIKUMAR Devaraj <sashikumard(at)yahoo(dot)com>:
>
> Hi All
>
> How to find when indexes was last used?
Assuming you are using PostgreSQL 16 or later, pg_stat_all_indexes and relatives
contain the "last_idx_scan" column.
https://www.postgresql.org/docs/current/monitoring-stats.html#PG-STAT-ALL-INDEXES-VIEW
Regards
Ian Barwick