pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-performance@postgresql.org
Subject: Re: server performance issues - suggestions for tuning
Date: Tue, 28 Aug 2007 10:26:52 -0400
Message-ID: <20070828142652.GB739@phlogiston.dyndns.org> (raw)
In-Reply-To: <46D3D8D6.EE98.0025.0@wicourts.gov>
References: <200708272213.14277.kevin@kevinkempterllc.com>
	<46D3D8D6.EE98.0025.0@wicourts.gov>

On Tue, Aug 28, 2007 at 08:12:06AM -0500, Kevin Grittner wrote:
>  
> Is there any way to queue up these queries and limit how many are running at
> a time?  

Sure: limit the number of connections to the database, and put a pool
in front.  It can indeed help.

If you have a lot of bloat due to large numbers of failed vacuums,
however, I suspect your problem is I/O.  Vacuum churns through the
disk very aggressively, and if you're close to your I/O limit, it can
push you over the top.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
"The year's penultimate month" is not in truth a good way of saying
November.
		--H.W. Fowler



view thread (5+ messages)  latest in thread

Message-ID: <20070828142652.GB739@phlogiston.dyndns.org>
Permalink:  ../20070828142652.GB739@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070828142652.GB739@phlogiston.dyndns.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: server performance issues - suggestions for tuning
  In-Reply-To: <20070828142652.GB739@phlogiston.dyndns.org>
  References: <200708272213.14277.kevin@kevinkempterllc.com> <46D3D8D6.EE98.0025.0@wicourts.gov> <20070828142652.GB739@phlogiston.dyndns.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox