Re: Data loss, vacuum, transaction wrap-around

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Data loss, vacuum, transaction wrap-around
Дата
Msg-id 6391.1108784131@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Data loss, vacuum, transaction wrap-around  (pgsql@mohawksoft.com)
Ответы Re: Data loss, vacuum, transaction wrap-around  (pgsql@mohawksoft.com)
Re: Data loss, vacuum, transaction wrap-around  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-hackers
pgsql@mohawksoft.com writes:
> I think there should be a 100% no data loss fail safe.

Possibly we need to recalibrate our expectations here.  The current
situation is that PostgreSQL will not lose data if:
1. Your disk drive doesn't screw up (eg, lie about write complete,   or just plain die on you).2. Your kernel and
filesystemdon't screw up.3. You follow the instructions about routine vacuuming.4. You don't hit any bugs that we don't
knowabout.
 

I agree that it's a nice idea to be able to eliminate assumption #3 from
our list of gotchas, but the big picture is that it's hard to believe
that doing this will make for a quantum jump in the overall level of
reliability.  I think I listed the risks in roughly the right order of
severity ...

I'm willing to fix this for 8.1 (and am already in process of drafting a
patch), especially since it ties into some other known problems such as
the pg_pwd/pg_group files not being properly reconstructed after PITR
recovery.  But I think that a "Chinese fire drill" is not called for,
and backpatching a significant but poorly tested change falls into that
category IMHO.
        regards, tom lane


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

Предыдущее
От: lsunley@mb.sympatico.ca
Дата:
Сообщение: Re: Data loss, vacuum, transaction wrap-around
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: UTF8 or Unicode