Re: 12 hour table vacuums

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Ron St-Pierre <ron(dot)pgsql(at)shaw(dot)ca>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 12 hour table vacuums
Date: 2007-10-23 18:03:14
Message-ID: 1193162594.4242.61.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2007-10-23 18:22:02 Re: 12 hour table vacuums
Previous Message Joshua D. Drake 2007-10-23 17:41:13 Re: 12 hour table vacuums