From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [DOCS] Autovacuum and XID wraparound |
Date: | 2007-05-14 20:25:08 |
Message-ID: | 60sl9z6tln.fsf@dba2.int.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-patches |
neilc(at)samurai(dot)com (Neil Conway) writes:
> On Sun, 2007-13-05 at 22:06 -0400, Tom Lane wrote:
>> This fact is already documented in at least three places; do we really
>> need two more?
>
> I think we need to at least modify the documentation for the autovacuum
> GUC parameter, which currently states only that it "controls whether the
> server should run the autovacuum launcher daemon" -- this is not
> strictly true, and in any case, it isn't the whole story.
>
>> The proposed addition to postgresql.conf seems particularly
>> over-the-top
>
> I agree that this information doesn't really belong in postgresql.conf.
Question... (note: this does not strictly fit into the purview of the
.patches list)
Would the following 'maintenance' regimen be truly safe against XID
wraparound:
- Most tables are being vacuumed regularly, so that
pg_class.relfrozenxid is kept "safe."
- There are some tables that periodically get TRUNCATEd so that, in
principle, they never need to be vacuumed.
Is it actually true that we'd never need to vacuum those tables
(assuming 8.2+)? I suppose it would be rather cheap to VACUUM
immediately after the TRUNCATE...
The application is one where we might use partitioning, rolling from
table to table every so often, with the expectation that we'll
TRUNCATE the eldest data often enough that we shouldn't need to VACUUM
any of the partitions.
--
let name="cbbrowne" and tld="linuxdatabases.info" in name ^ "@" ^ tld;;
http://linuxdatabases.info/info/linuxxian.html
Why are men like blenders?
You need one, but you're not quite sure why.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-05-14 22:16:19 | Re: [DOCS] Autovacuum and XID wraparound |
Previous Message | Bruce Momjian | 2007-05-14 20:22:23 | Re: Autovacuum and XID wraparound |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-05-14 22:16:19 | Re: [DOCS] Autovacuum and XID wraparound |
Previous Message | Bruce Momjian | 2007-05-14 20:22:23 | Re: Autovacuum and XID wraparound |