pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Brox <tobias@nordicbet.com>
To: Gábor Farkas <gabor@nekomancer.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: autovacuum: recommended?
Date: Fri, 16 Nov 2007 12:13:55 +0100
Message-ID: <20071116111355.GB1195@mail.nordicbet.com> (raw)
In-Reply-To: <473D659B.1070008@nekomancer.net>
References: <473D659B.1070008@nekomancer.net>

[Gábor Farkas - Fri at 10:40:43AM +0100]
> my question is: is it recommended to use it? or in other words, should i 
> only use autovacuum? or it's better to use manual-vacuuming? which one 
> is the "way of the future" :) ? or should i use both auto-vacuum and 
> manual-vacuum?

Nightly vacuums are great if the activity on the database is very low
night time.  A combination is also good, the autovacuum will benefit
from the nightly vacuum.  My gut feeling says it's a good idea to leave
autovacuum on, regardless of whether the nightly vacuums have been
turned on or not.

That being said, we have some huge tables in our database and pretty
much traffic, and got quite some performance problems when the
autovacuum kicked in and started vacuuming those huge tables, so we're
currently running without.  Autovacuum can be tuned to not touch those
tables, but we've chosen to leave it off.




view thread (18+ messages)  latest in thread

Message-ID: <20071116111355.GB1195@mail.nordicbet.com>
Permalink:  ../20071116111355.GB1195@mail.nordicbet.com/
Also on:    postgresql.org/message-id/20071116111355.GB1195@mail.nordicbet.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tobias@nordicbet.com, gabor@nekomancer.net
  Subject: Re: autovacuum: recommended?
  In-Reply-To: <20071116111355.GB1195@mail.nordicbet.com>
  References: <473D659B.1070008@nekomancer.net> <20071116111355.GB1195@mail.nordicbet.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