Skip site navigation (1) Skip section navigation (2)

Re: Experimental patch for inter-page delay in VACUUM

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Experimental patch for inter-page delay in VACUUM
Date: 2003-11-04 17:11:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> Actually, once you build it this way, you could make all writes
>> synchronous (open the files O_SYNC) so that there is never any need for
>> explicit fsync at checkpoint time.
> Or maybe fdatasync() would be slightly more efficient - do we care about 
> flushing metadata that much?

We don't, but it would just obscure the discussion to spell out "fsync,
or fdatasync where available" ...

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2003-11-04 17:31:21
Subject: Re: [PATCHES] equal() perf tweak
Previous:From: Tom LaneDate: 2003-11-04 17:07:34
Subject: Re: bufmgr code question

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group