Re: CommitDelay performance improvement - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: CommitDelay performance improvement
Date
Msg-id 200102231837.NAA17601@candle.pha.pa.us
Whole thread Raw
In response to CommitDelay performance improvement  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CommitDelay performance improvement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Why not just set a flag in there when someone nears commit and clear
> > when they are about to commit?
> 
> Define "nearing commit", in such a way that you can specify where you
> plan to set that flag.

Is there significant time between entry of CommitTransaction() and the
fsync()?  Maybe not.

--  Bruce Momjian                        |  http://candle.pha.pa.us 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lock structures
Next
From: Bruce Momjian
Date:
Subject: Re: CommitDelay performance improvement