pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Fuhr <mike@fuhr.org>
Cc: 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 16:41:32 -0500
Message-ID: <24593.1138311692@sss.pgh.pa.us> (raw)
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>

Michael Fuhr <mike@fuhr.org> writes:
> 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,

Also, somebody made a real good point about rolled-back insertions.
Even if the only command you ever apply to the table is INSERT, you
could still have dead rows in the table if some of those transactions
occasionally roll back.

			regards, tom lane



view thread (33+ messages)  latest in thread

Message-ID: <24593.1138311692@sss.pgh.pa.us>
Permalink:  ../24593.1138311692@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24593.1138311692@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mike@fuhr.org, matthew@zeut.net, me@oisinglynn.com
  Subject: Re: VACUUM Question
  In-Reply-To: <24593.1138311692@sss.pgh.pa.us>
  References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> <20060126204430.GA97564@winnie.fuhr.org> <24593.1138311692@sss.pgh.pa.us>

* 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