Finding time of last pg_stat_reset
От
Tommy Gildseth
Тема
Finding time of last pg_stat_reset
Дата
Msg-id
4A320DF2.1090807@usit.uio.no
Список
Дерево обсуждения
Finding time of last pg_stat_reset Tommy Gildseth <tommy.gildseth@usit.uio.no>
Re: Finding time of last pg_stat_reset Bruce Momjian <bruce@momjian.us>
I'm trying to figure out if there's any way to find when statistics was last reset. Previously when we were using 8.2, we had stats_reset_on_server_start set to on, and then assumed pg_stat_get_backend_start as the start time for collected stats. Is there any way to do this in 8.3, without f.ex adding a call to pg_stat_reset() in our startup scripts? -- Tommy Gildseth
В списке pgsql-general по дате отправления
От: zxo102 ouyang
Дата: