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: Performance query about large tables, lots of concurrent access
Date: Wed, 20 Jun 2007 14:15:11 -0400
Message-ID: <20070620181511.GC743@phlogiston.dyndns.org> (raw)
In-Reply-To: <46796B7E.1040501@metacarta.com>
References: <14291.1182221811@sss.pgh.pa.us>
	<4677B831.8060704@metacarta.com>
	<4677D298.2010109@metacarta.com>
	<20070619132643.GC4265@alvh.no-ip.org>
	<4677DC06.3000300@metacarta.com>
	<20070619134637.GG4265@alvh.no-ip.org>
	<cone.1182267949.154012.90929.5001@35st.simplicato.com>
	<467963A8.2060703@metacarta.com>
	<cone.1182361987.297492.1867.5001@35st.simplicato.com>
	<46796B7E.1040501@metacarta.com>

On Wed, Jun 20, 2007 at 02:01:34PM -0400, Karl Wright wrote:
> (FWIW, ANALYZE operations are kicked off after every 30,000 inserts, 
> updates, or deletes, by the application itself).

I don't think you should do it that way.  I suspect that automatic
VACUUM ANALYSE way more often on each table -- like maybe in a loop
-- would be better for your case.  

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism. 
                --Brad Holland



view thread (56+ messages)  latest in thread

Message-ID: <20070620181511.GC743@phlogiston.dyndns.org>
Permalink:  ../20070620181511.GC743@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070620181511.GC743@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: Performance query about large tables, lots of concurrent access
  In-Reply-To: <20070620181511.GC743@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