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

Re: Commit delay (was Re: beta5 packages)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Commit delay (was Re: beta5 packages)
Date: 2001-02-23 22:10:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> Hmm.  A further refinement would be to add a waiting-for-client-input
> bit to PROC, although if you have a fast-responding client, ignoring
> such backends wouldn't necessarily be a good thing.  Notice that the
> pgbench transaction involves multiple client requests ...
> > Let's keep talking.  I see us so near release, I am not sure if we can
> > get something that is a clear win, and we saw how the 5us fix almost got
> > out in the final before we realized the performance problems with it.
> Yeah, because our attention hadn't been drawn to it.  It won't escape
> so easily now ;-).  The real concern here is that I'm not currently
> convinced that commit_delay = 0 is a good answer under heavy load.

OK, clearly your looking at the bit is better than what we have now, so
how about committing something that looks at the bit, but leave the
default at zero.  Then, let people test zero and non-zero delays and
let's see what they find.  That seems safe because we aren't enabling
the problematic delay by default, at least until we find it is a help in
most cases.

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2001-02-23 22:18:19
Subject: Re: CommitDelay performance improvement
Previous:From: Tom LaneDate: 2001-02-23 22:05:07
Subject: Commit delay (was Re: beta5 packages)

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