Re: fsync alternatives (was: Re: [HACKERS] TODO item)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fsync alternatives (was: Re: [HACKERS] TODO item)
Дата
Msg-id 200002071854.NAA02211@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fsync alternatives (was: Re: [HACKERS] TODO item)  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-hackers
> Yes, the way I understand it is that one backend doing the fsync
> will sync the entire file perhaps forcing a sync in the middle of
> a somewhat critical update being done by another instance of the
> backend.

We don't mind that.  Until the transaction is marked as complete, they
can fsync anything we want.  We just want all stuff modified by a 
transaction fsynced before a transaction is marked as completed.

> I'm aware of the performance implications sync writes cause, but
> using fsync after every write seems to cause massive amounts of
> unessesary disk IO that could be avoided with using explicit
> sync descriptors with little increase in complexity considering
> what I understand of the current implementation.

Yes.


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Taral
Дата:
Сообщение: Re: [HACKERS] ONLY
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 7 RPMs coming soon