Re: Experimental patch for inter-page delay in VACUUM - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: Experimental patch for inter-page delay in VACUUM
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA496205E@m0114.s-mxs.net
Whole thread Raw
In response to Experimental patch for inter-page delay in VACUUM  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Experimental patch for inter-page delay in VACUUM
List pgsql-hackers
> that works well enough to make it uncommon for backends to have to
> write dirty buffers for themselves.  If we can, then doing all the
> writes O_SYNC would not be a problem.

One problem with O_SYNC would be, that the OS does not group writes any
more. So the code would need to eighter do it's own sorting and grouping
(256k) or use aio, or you won't be able to get the maximum out of the disks.

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug fix for 7.4?
Next
From: Tom Lane
Date:
Subject: Re: Experimental patch for inter-page delay in VACUUM