From: Tom Lane <tgl@sss.pgh.pa.us>
To: tv@fuzzy.cz
Cc: pgsql-bugs@postgresql.org
Cc: Magnus Hagander <magnus@hagander.net>
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
Date: Sat, 11 Dec 2010 13:03:01 -0500
Message-ID: <12949.1292090581@sss.pgh.pa.us> (raw)
In-Reply-To: <e1778126e9b424e4e8a51ffb813ee2e0.squirrel@sq.gransy.com>
References: <4e19b0bfc836f7002752517e7792a0b9.squirrel@sq.gransy.com>
<4350.1292088691@sss.pgh.pa.us>
<e1778126e9b424e4e8a51ffb813ee2e0.squirrel@sq.gransy.com>
tv@fuzzy.cz writes:
>> However, I disagree with resetting last_autovac_time ... that's not a
>> counter, so there's no particularly good reason to discard its value.
> Oh yeah, I see. Haven't realized that when writing the patch.
... on the other hand, the reset operation is discarding the per-table
last-vacuum times, so maybe discarding the database-level value too is
more consistent. Not sure.
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, tv@fuzzy.cz, magnus@hagander.net
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
In-Reply-To: <12949.1292090581@sss.pgh.pa.us>
References: <4e19b0bfc836f7002752517e7792a0b9.squirrel@sq.gransy.com> <4350.1292088691@sss.pgh.pa.us> <e1778126e9b424e4e8a51ffb813ee2e0.squirrel@sq.gransy.com> <12949.1292090581@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