pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Chris Beecroft <CBeecroft@PrO-Unlimited.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Some queries starting to hang
Date: Tue, 6 Jun 2006 10:03:26 -0500
Message-ID: <20060606150326.GC53487@pervasive.com> (raw)
In-Reply-To: <1149539978.8606.51.camel@bg002441.pro-unlimited.com>
References: <22706.1149538039@sss.pgh.pa.us>
	<1149539978.8606.51.camel@bg002441.pro-unlimited.com>

On Mon, Jun 05, 2006 at 01:39:38PM -0700, Chris Beecroft wrote:
> Thanks Tom,
> 
> I knew you would come through again!
> 
> Query is now returning with results on our replicated database.  Will
> vacuum analyze production now.  So it seems to have done the trick.  Now
> the question is has our auto vacuum failed or was not set up properly...
> A question for my IT people.

You should almost certainly be running the autovacuum that's built in
now. If you enable vacuum_cost_delay you should be able to make it so
that vacuum's impact on production is minimal. The other thing you'll
want to do is cut all the vacuum threshold and scale settings in half
(the defaults are very conservative).
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (28+ messages)  latest in thread

Message-ID: <20060606150326.GC53487@pervasive.com>
Permalink:  ../20060606150326.GC53487@pervasive.com/
Also on:    postgresql.org/message-id/20060606150326.GC53487@pervasive.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jnasby@pervasive.com, CBeecroft@PrO-Unlimited.com
  Subject: Re: Some queries starting to hang
  In-Reply-To: <20060606150326.GC53487@pervasive.com>

* 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