Re: Simplifying wal_sync_method

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Simplifying wal_sync_method
Дата
Msg-id 200508091453.j79ErdH22558@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Simplifying wal_sync_method  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers
Magnus Hagander wrote:
> > Now thinking about it, the guy had corrupt table, not WAL log.
> > How is WAL->tables synched?  Does the 'wal_sync_method' 
> > affect it or not?
> 
> I *think* it always fsyncs() there as it is now, but I'm not 100% sure.

wal_sync_method is also used to flush pages during a checkpoint, so it
could lead to table corruption too, not just WAL corruption.

However, on Unix, 99% of corruption is caused by bad disk or RAM.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: MySQL to PostgreSQL for SugarCRM
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FW: [VulnWatch] [AppSecInc Advisory MYSQL05-V0003] Multiple Issues with MySQL User Defined Functions