Re: Is it ever necessary to vacuum a table that only gets inserts/updates? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is it ever necessary to vacuum a table that only gets inserts/updates?
Date
Msg-id 12591.1321545550@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is it ever necessary to vacuum a table that only gets inserts/updates?  (Craig Ringer <ringerc@ringerc.id.au>)
Responses Re: Is it ever necessary to vacuum a table that only gets inserts/updates?  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-general
Craig Ringer <ringerc@ringerc.id.au> writes:
> On Nov 17, 2011 1:32 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> If it's purely an insert-only table, such as a logging table, then in
>> principle you only need periodic ANALYZEs and not any VACUUMs.

> Won't a VACUUM FREEZE (or autovac equivalent) be necessary eventually, to
> handle xid wraparound?

Sure, but if he's continually adding new rows, I don't see much point in
launching extra freeze operations.

            regards, tom lane

pgsql-general by date:

Previous
From: Edson Richter
Date:
Subject: Re: how could duplicate pkey exist in psql?
Next
From: Jaime Casanova
Date:
Subject: Re: synchronous replication + fsync=off?