Re: Analyse without locking?

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Richard Neill <rn214(at)cam(dot)ac(dot)uk>
Cc: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Analyse without locking?
Date: 2009-11-28 22:28:39
Message-ID: 4B11A417.2020906@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Richard Neill wrote:
> Now, I understand that increasing checkpoint_segments is generally a
> good thing (subject to some limit), but doesn't that just mean that
> instead of say a 1 second outage every minute, it's a 10 second outage
> every 10 minutes?
That was the case in versions before 8.3. Now, the I/O is spread out
over most of the next checkpoint's time period. So what actually
happens is that all the I/O that happens over 10 minutes will be spread
out over the next five minutes of time. With the defaults, there's so
little time between checkpoints under heavy writes that the spreading
doesn't have enough room to work, leading to higher write bursts.

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Neill 2009-11-29 01:31:23 Re: Analyse without locking?
Previous Message Reydan Cankur 2009-11-28 21:00:42 Re: OpenMP in PostgreSQL-8.4.0