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

Re: CommitDelay performance improvement

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: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: CommitDelay performance improvement
Date: 2001-02-24 06:36:00
Message-ID: 200102240636.BAA00664@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> > It may have been much earler in the debate, but has anyone checked to see
> > what the maximum possible gains might be - or is it self-evident to people
> > who know the code?
> 
> fsync off provides an upper bound to the speed achievable from being
> smarter about when to fsync... I doubt that fsync-once-per-checkpoint
> would be much different.

That was my point, people should be doing fsync once per checkpoint
rather than never.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  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: Hiroshi InoueDate: 2001-02-24 08:41:13
Subject: Re: WAL does not recover gracefully from out-of-disk-space
Previous:From: Tom LaneDate: 2001-02-24 06:07:17
Subject: Re: CommitDelay performance improvement

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