Re: Checkpoint spikes

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Richard Neill <rn214(at)cam(dot)ac(dot)uk>, PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Checkpoint spikes
Date: 2009-12-03 20:57:31
Message-ID: 4B18263B.9040402@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Heikki Linnakangas wrote:
> I wonder how common this issue is? When we implemented spreading of the
> write phase, we had long discussions about spreading out the fsyncs too,
> but in the end it wasn't done. Perhaps it is time to revisit that now
> that 8.3 has been out for some time and people have experience with the
> load-distributed checkpoints.
>
Circa 8.2, I ran into checkpoint problems all the time. With the
spreading logic in 8.3, properly setup, the worst case is so improved
that I usually find something else more pressing to tune, rather than
worry about the exact details of the sync process. It seems to have hit
the "good enough" point where it's hard to justify time for further
improvements when there are other things to work on. I'd still like to
see spread fsync happen one day, just hasn't been a priority for any
systems I have to improve lately.

--
Greg Smith 2ndQuadrant Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Carey 2009-12-04 00:04:32 Re: SSD + RAID
Previous Message Heikki Linnakangas 2009-12-03 11:27:26 Re: Checkpoint spikes