pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Ron St-Pierre <ron.pgsql@shaw.ca>
Cc: pgsql-performance@postgresql.org
Subject: Re: 12 hour table vacuums
Date: Tue, 23 Oct 2007 19:03:14 +0100
Message-ID: <1193162594.4242.61.camel@ebony.site> (raw)
In-Reply-To: <471E18ED.3090704@shaw.ca>
References: <471E18ED.3090704@shaw.ca>

On Tue, 2007-10-23 at 08:53 -0700, Ron St-Pierre wrote:
> The table gets updated only 
> about 10 times a day. 

So why are you VACUUMing it nightly? You should do this at the weekend
every 3 months...

8.1 is slower at VACUUMing indexes than later releases, so 60 indexes
are going to hurt quite a lot.

The default maintenance_work_mem is sufficient for this table.

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com




view thread (17+ messages)  latest in thread

Message-ID: <1193162594.4242.61.camel@ebony.site>
Permalink:  ../1193162594.4242.61.camel@ebony.site/
Also on:    postgresql.org/message-id/1193162594.4242.61.camel@ebony.site

 · 

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: simon@2ndquadrant.com, ron.pgsql@shaw.ca
  Subject: Re: 12 hour table vacuums
  In-Reply-To: <1193162594.4242.61.camel@ebony.site>

* 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