Archiving and recovering pg_stat_tmp

Поиск
Список
Период
Сортировка
От Sameer Thakur
Тема Archiving and recovering pg_stat_tmp
Дата
Msg-id CABzZFEs1zgH0RDy6SpJUKrxFq6NWQjdMPwmR7eAx5nW9xzB=_A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Archiving and recovering pg_stat_tmp  (Amit Langote <amitlangote09@gmail.com>)
Re: Archiving and recovering pg_stat_tmp  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
Hello,
I was trying to figure out how does one recover server statistics to the same snapshot to which a database is restored after PITR.
The steps i had in mind were
1.Set up WAL archiving 
2.On server shutdown one would need to backup  pg_stat_tmp along with file system level back of database
3. On server crash setup configuration for recovery mode
4. Restart server, which replays WAL files and hen moves from recovery to normal mode
What will be behavior be regarding pg_stat_tmp? Will it be deleted on startup? Is it possible to recover the same statistics as on last server shutdown? ICan the statistics recovered to the same PITR?
Thank you
Sameer

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

Предыдущее
От: James Sewell
Дата:
Сообщение: LDAP authentication timing out
Следующее
От: James Sewell
Дата:
Сообщение: Snapshot backups