Re: how can one infer the maximum possible restore time from a WAL file(name) in a backup?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how can one infer the maximum possible restore time from a WAL file(name) in a backup?
Дата
Msg-id 3116564.1669041117@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how can one infer the maximum possible restore time from a WAL file(name) in a backup?  ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>)
Список pgsql-admin
"Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch> writes:
> In Oracle there is a view v$archived_log in which for each logfile the time of the first and last transaction
containedin it is indicated. By means of this view one can infer from a log file in the backup the maximum possible
recoverytime. 

> Is there something similar in Postgres? Or in other words, how can one infer the maximum possible restore time from a
WALfile(name) in a backup? 

There's no view, but you could use pg_waldump to examine the timestamps
of the first and last COMMIT/ROLLBACK records in a WAL file.

            regards, tom lane



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

Предыдущее
От: Ron
Дата:
Сообщение: Re: user credentials rejected by pgAdmin right after new install
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Finding query execution time using \timing and EXPLAIN ANALYZE..