top of page
Shareware software


PostgreSQL: не используемые индексы
Список индексов кластера PostgreSQL к которым не было обращений или их количество меньше заданного в поле "show indices with hit less"

select * from pg_catalog.pg_stat_all_indexes
where idx_scan < $$NUMBER
and schemaname not in ('pg_toast','pg_catalog')
order by idx_scan
bottom of page