Re: x206-x225

Поиск
Список
Период
Сортировка
Искать
От
Joost Kraaijeveld
Тема
Re: x206-x225
Дата
Msg-id
1142087174.6634.32.camel@localhost
Ответ на
Список
Дерево обсуждения
x206-x225 "H.J. Sanders" <hjs@rmax.nl>
Re: x206-x225 Richard Huxton <dev@archonet.com>
Re: x206-x225 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Re: x206-x225 David Lang <david@lang.hm>
Re: x206-x225 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Re: x206-x225 PFC <lists@peufeu.com>
Re: x206-x225 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Re: x206-x225 Tom Lane <tgl@sss.pgh.pa.us>
Re: x206-x225 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Re: x206-x225 David Lang <david@lang.hm>
Re: x206-x225 "Jim C. Nasby" <jnasby@pervasive.com>
Re: x206-x225 Richard Huxton <dev@archonet.com>
Re: x206-x225 "Jim C. Nasby" <jnasby@pervasive.com>
Re: x206-x225 Richard Huxton <dev@archonet.com>
Re: x206-x225 "Daniel Blaisdell" <lunk.djedi@gmail.com>
On Sat, 2006-03-11 at 12:33 +0100, PFC wrote:
> >> each transaction requires a sync to the disk, a sync requires a real
> >> write (which you then wait for), so you can only do one transaction per
> >> rotation.
> > Not according to a conversation I had with Western Digital about the
> 
> 
> It depends if you consider that "written to the disk" means "data is  
> somewhere between the OS cache and the platter" or "data is writter on the  
> platter and will survive a power loss".
> 
> Postgres wants the second option, of course.

I assume that for PostgreSQL "written to disk" is after fsync returned
successfully. In practice that could very well mean that the data is
still in a cache somewhere (controller or harddisk, not in the OS
anymore, see also man page of fsync)


-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl

В списке pgsql-performance по дате отправления
От: PFC
Дата:
Сообщение: Re: x206-x225
От: Tom Lane
Дата:
Сообщение: Re: x206-x225
FAQ