Re: Additional stats for Relations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Additional stats for Relations
Date
Msg-id 14770.1161272873@sss.pgh.pa.us
Whole thread Raw
In response to Re: Additional stats for Relations  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Additional stats for Relations  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
"Jim C. Nasby" <jim@nasby.net> writes:
> BTW, if we add these counters we'll be up to 7 stats dealing with vacuum
> and analyze, and NikhilS has a patch we're finalizing that would add 3
> more. Right now there's 4 slated to go into pg_stat_* in 8.2, but maybe
> we should have a separate view for vacuum/FSM statistics?

I've seen no demonstration of a need for *any* of them, actually,
and am pretty dubious that we want to add so much collection overhead.
At least not without a major redesign of the stats reporting mechanism.
If we just drop in another seven counters, we'll create an immediate 50%
increase in the stats-file I/O volume, even when no vacuuming is
happening at all.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Statements with syntax errors are not logged
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Additional stats for Relations