Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes
В списке pgsql-bugs по дате отправления:
| От | Simon Riggs |
|---|---|
| Тема | Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes |
| Дата | |
| Msg-id | 1281597486.2142.2061.camel@ebony обсуждение исходный текст |
| Ответ на | Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Re: BUG #5602: Recovering from Hot-Standby file backup
leads to the currupted indexes
|
| Список | pgsql-bugs |
On Thu, 2010-08-12 at 01:31 -0400, Tom Lane wrote: > So the DBA is > just flying blind as to whether the slave is trustworthy yet. I can't > prove that that's what burnt the original complainant, but it fits the > symptoms. The safest approach is to 1. run pg_start_backup() on master, remember LSN 2. copy backup_label from master to standby 3. wait for starting LSN to be applied on standby 4. run backup on standby 5. run pg_stop_backup() on master That ensures we don't run without full page writes during backup and that we have an explicit consistency point to work from. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Training and Services
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера