Re: Any reason to use pg_dumpall on an idle database

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas
Тема Re: Any reason to use pg_dumpall on an idle database
Дата
Msg-id 003601bfc74d$3eff6f40$f823080a@sd.spardat.at
обсуждение исходный текст
Ответ на Re: Any reason to use pg_dumpall on an idle database  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > I think it is a good idea to backup pg_log first, then the rest.
> > Then you should imho be safe even if load is heavy.
> > No vacuum until finished of course.
> 
> You know, that was always my assumption too, that doing pg_log first
> made things safer.  I am not sure if it is 100% safe, though.

I think there is a problem with our "big" pagesize of 8k.
If we used the system page size (usually 2 or 4k) a write with a 
concurrent read should imho not be possible. But since we need to write
2-4 system pages I am not so sure that that is atomic, thus we risc 
backing up an incompletely written pg page.

sounds like a nogo :-(
Andreas



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

Предыдущее
От: "Zeugswetter Andreas"
Дата:
Сообщение: Re: Berkeley DB...
Следующее
От: Olivier PRENANT
Дата:
Сообщение: Re: Perl 5.6.0