pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Matthew T. O'Connor <matthew@zeut.net>
Cc: Oisin Glynn <me@oisinglynn.com>
Cc: pgsql general <pgsql-general@postgresql.org>
Subject: Re: VACUUM Question
Date: Thu, 26 Jan 2006 13:44:30 -0700
Message-ID: <20060126204430.GA97564@winnie.fuhr.org> (raw)
In-Reply-To: <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com>
References: <002a01c622ac$41555af0$1f12fea9@homisco.local>
	<5071.71.40.140.99.1138304142.squirrel@mail.tocr.com>

On Thu, Jan 26, 2006 at 02:35:42PM -0500, Matthew T. O'Connor wrote:
> If you really are just inserting, and never updating or deleting, then you
> will never need to vacuum the table, rather you will just need to ANALYSE
> the table.

That's not quite true; the table must still be vacuumed occasionally
to prevent transaction ID wraparound failure, else you risk losing
data.

http://www.postgresql.org/docs/8.1/interactive/maintenance.html#VACUUM-FOR-WRAPAROUND

-- 
Michael Fuhr



view thread (33+ messages)  latest in thread

Message-ID: <20060126204430.GA97564@winnie.fuhr.org>
Permalink:  ../20060126204430.GA97564@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060126204430.GA97564@winnie.fuhr.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 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-general@postgresql.org
  Cc: mike@fuhr.org, matthew@zeut.net, me@oisinglynn.com
  Subject: Re: VACUUM Question
  In-Reply-To: <20060126204430.GA97564@winnie.fuhr.org>
  References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> <20060126204430.GA97564@winnie.fuhr.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