pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Brendan Duddridge <brendan@clickspace.com>
Cc: Luke Lonergan <llonergan@greenplum.com>
Cc: G?briel ?kos <akos.gabriel@i-logic.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: count(*) performance
Date: Tue, 28 Mar 2006 11:26:35 -0600
Message-ID: <20060328172634.GM75181@pervasive.com> (raw)
In-Reply-To: <CE860B90-6CAB-441A-870B-397696599418@clickspace.com>
References: <C04D6B95.20285%llonergan@greenplum.com>
	<CE860B90-6CAB-441A-870B-397696599418@clickspace.com>

On Mon, Mar 27, 2006 at 12:20:54PM -0700, Brendan Duddridge wrote:
> Does that mean that even though autovacuum is turned on, you still  
> should do a regular vacuum analyze periodically?

Doing a periodic vacuumdb -avz and keeping an eye on the last few lines
isn't a bad idea. It would also be helpful if there was a log parser
that could take a look at the output of a vacuumdb -av and look for any
problem areas, such as relations that have a lot of free space in them.
-- 
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 (17+ messages)

Message-ID: <20060328172634.GM75181@pervasive.com>
Permalink:  ../20060328172634.GM75181@pervasive.com/
Also on:    postgresql.org/message-id/20060328172634.GM75181@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, brendan@clickspace.com, llonergan@greenplum.com, akos.gabriel@i-logic.hu
  Subject: Re: count(*) performance
  In-Reply-To: <20060328172634.GM75181@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