From: Matthew T. O'Connor <matthew@zeut.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Swan <tswan@idigx.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Jeff Boes <jboes@nexcerpt.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pg_autovacuum crashes when query fails for temp
Date: Tue, 20 Apr 2004 23:51:31 -0400
Message-ID: <4085EFC3.9020109@zeut.net> (raw)
In-Reply-To: <25435.1082518142@sss.pgh.pa.us>
References: <200404201525.i3KFPp809934@candle.pha.pa.us>
<40855DF0.3010300@idigx.com>
<37398.192.154.91.225.1082485149.squirrel@192.154.91.225>
<25435.1082518142@sss.pgh.pa.us>
Tom Lane wrote:
>"Matthew T. O'Connor" <matthew@zeut.net> writes:
>
>
>>This is a good question, and I would like some opinions from some other
>>people more informed than I.
>>
>>
>
>You *can not* vacuum other sessions' temp tables; you don't have access
>to the data. (You have no way to get at pages that are modified in
>someone else's local buffer manager.) You could vacuum your own temp
>tables, if you had any, but I would hardly expect autovacuum to have
>any.
>
>
Ok, so I will change pg_autovacuum to explicitly ignore temp tables.
Just to be sure, I can do this by avoiding anything found in the pg_temp
schemea, or is there a better way? Is it possible that a user could or
would put a non-temp table the pg_temp schemea?
>In reference to Chris' followup question, you *should* be vacuuming
>system catalogs, and you *should not* be vacuuming TOAST tables. VACUUM
>on a regular table automatically hits the associated TOAST table.
>
Ok, this is as I thought, pg_autovacuum is already doing the right thing
here. (see the post I just sent a few minutes ago for more details).
Thanks Tom,
Matthew
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-admin@postgresql.org
Cc: matthew@zeut.net, tgl@sss.pgh.pa.us, tswan@idigx.com, pgman@candle.pha.pa.us, jboes@nexcerpt.com, pgsql-hackers@postgresql.org
Subject: Re: pg_autovacuum crashes when query fails for temp
In-Reply-To: <4085EFC3.9020109@zeut.net>
References: <200404201525.i3KFPp809934@candle.pha.pa.us> <40855DF0.3010300@idigx.com> <37398.192.154.91.225.1082485149.squirrel@192.154.91.225> <25435.1082518142@sss.pgh.pa.us> <4085EFC3.9020109@zeut.net>
* 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