Re: VACUUM Question - Mailing list pgsql-general

From Tom Lane
Subject Re: VACUUM Question
Date
Msg-id 24593.1138311692@sss.pgh.pa.us
Whole thread Raw
In response to Re: VACUUM Question  (Michael Fuhr <mike@fuhr.org>)
Responses Re: VACUUM Question
List pgsql-general
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

pgsql-general by date:

Previous
From: "Eric B. Ridge"
Date:
Subject: "xmin" system column
Next
From: Tom Lane
Date:
Subject: Re: "xmin" system column