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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Sat, 28 Nov 2009 17:28:39 -0500
  • Message-id: <4B11A417.2020906@2ndquadrant.com> <text/plain>

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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group