From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Matthew T. O'Connor <matthew@zeut.net>
Cc: Jan Wieck <JanWieck@Yahoo.com>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [ADMIN] Excessive growth of pg_attribute and other system tables
Date: Thu, 31 Mar 2005 15:06:13 -0500
Message-ID: <14686.1112299573@sss.pgh.pa.us> (raw)
In-Reply-To: <7739.1112295848@sss.pgh.pa.us>
References: <200503171515.38214.scrawford@pinpointresearch.com>
<423F17D7.7040904@zeut.net>
<1219.1111434030@sss.pgh.pa.us>
<200503310944.50647.scrawford@pinpointresearch.com>
<7739.1112295848@sss.pgh.pa.us>
I wrote:
> The light just went on ... system catalog updates don't generate
> statistics reports. Hence, autovacuum doesn't know any work is needed.
The above claim is too strong --- they do normally generate stats
updates. However, in a simple test I observed that
pg_stat_all_tables.n_tup_del did not seem to increment for the deletes
that occur when a temp table is dropped during backend exit. (Most
likely we aren't flushing out the final stats messages...)
Steve, is your app in the habit of creating lots of temp tables that are
not dropped explicitly? That would explain why you are getting bit more
than other people.
regards, tom lane
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: tgl@sss.pgh.pa.us, scrawford@pinpointresearch.com, matthew@zeut.net, JanWieck@Yahoo.com, pgsql-hackers@postgreSQL.org
Subject: Re: [ADMIN] Excessive growth of pg_attribute and other system tables
In-Reply-To: <14686.1112299573@sss.pgh.pa.us>
References: <200503171515.38214.scrawford@pinpointresearch.com> <423F17D7.7040904@zeut.net> <1219.1111434030@sss.pgh.pa.us> <200503310944.50647.scrawford@pinpointresearch.com> <7739.1112295848@sss.pgh.pa.us> <14686.1112299573@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