Index usage statistic for last X hours

Поиск
Список
Период
Сортировка
От otar shavadze
Тема Index usage statistic for last X hours
Дата
Msg-id CAG-jOyCfGC-RPDnrdmaSZUKzi1OWkk_wh2k-5w7dP4Eu+Q8pmw@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello
I need to measure  usage of an indexes in the last X hours.
One way I think, is to use pg_cron (or some similar tool) and periodically(hourly) save data from "pg_stat_all_indexes" view some custom table, and then measure usage between hours.

Is there some better solution for this?

В списке pgsql-admin по дате отправления:

Предыдущее
От: Mukesh Rajpurohit
Дата:
Сообщение: Re: Oracle error log table equivalent in postgresql
Следующее
От: Shrikant Bhende
Дата:
Сообщение: Join for the parent table will not leverage the index scan