PostgreSQL PITR - more doubts

Поиск
Список
Период
Сортировка
От Jayadevan M
Тема PostgreSQL PITR - more doubts
Дата
Msg-id OFC2981E2C.FBD7D986-ON6525775E.003DEF04-6525775E.003E99D3@ibsplc.com
обсуждение исходный текст
Ответы Re: PostgreSQL PITR - more doubts  (Jesper Krogh <jesper@krogh.cc>)
Список pgsql-performance
Hello all,
One doubt about how PostgreSQL PITR works. Let us say I have all the
archived WALs for the past week with
archive_command = 'cp -i %p /home/postgres/archive/%f </dev/null'
I took a base backup last night. If I try to recover the server today
after
copying the base backup from yesterday and providing
restore_command = 'cp /home/postgres/archive/%f %p'
does PostgreSQL go through all the past week's archived WALS or
it can figure out that the base backup is from yesterday, so skip
a large number of archived WALs and start only from file xxx ?
Either way, are there ways to speed up the restore process?
Regards,
Jayadevan





DISCLAIMER:

"The information in this e-mail and any attachment is intended only for
the person to whom it is addressed and may contain confidential and/or
privileged material. If you have received this e-mail in error, kindly
contact the sender and destroy all copies of the original communication.
IBS makes no warranty, express or implied, nor guarantees the accuracy,
adequacy or completeness of the information contained in this email or any
attachment and is not liable for any errors, defects, omissions, viruses
or for resultant loss or damage, if any, direct or indirect."






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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: now() gives same time within the session
Следующее
От: Jesper Krogh
Дата:
Сообщение: Re: PostgreSQL PITR - more doubts