Index usage statistic for last X hours

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux