From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kim <kim@myemma.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: unusual performance for vac following 8.2 upgrade
Date: Thu, 11 Jan 2007 17:26:55 -0500
Message-ID: <6871.1168554415@sss.pgh.pa.us> (raw)
In-Reply-To: <28949.1168544710@sss.pgh.pa.us>
References: <45A671CD.1050706@myemma.com>
<27939.1168539652@sss.pgh.pa.us>
<45A68C74.4080405@myemma.com>
<28949.1168544710@sss.pgh.pa.us>
I wrote:
> (2) Reconsider whether last-vacuum-time should be sent to the collector
> unconditionally.
Actually, now that I look, the collector already contains this logic:
/*
* Don't create either the database or table entry if it doesn't already
* exist. This avoids bloating the stats with entries for stuff that is
* only touched by vacuum and not by live operations.
*/
and ditto for analyze messages. So my idea that the addition of
last-vac-time was causing an increase in the statistics file size
compared to 8.1 seems wrong.
How large is your $PGDATA/global/pgstat.stat file, anyway?
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, kim@myemma.com, pgsql-hackers@postgresql.org
Subject: Re: unusual performance for vac following 8.2 upgrade
In-Reply-To: <6871.1168554415@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