Re: reducing statistics write overhead - Mailing list pgsql-hackers

From Asko Oja
Subject Re: reducing statistics write overhead
Date
Msg-id ecd779860809060022ucfdef9dxe173339ec4b84d83@mail.gmail.com
Whole thread Raw
In response to Re: reducing statistics write overhead  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
On Sat, Sep 6, 2008 at 2:29 AM, Euler Taveira de Oliveira <euler@timbira.com> wrote:
Martin Pihlak escreveu:
> I suspected that, but somehow managed to overlook it :( I guess it was
> too tempting to use it. I'll start looking for alternatives.
>
If you can't afford a 500 msec pgstat time, then you need to make it
tunable.
Additional parameter in config file. Not good.
 
Another ideas are (i) turn on/off pgstat per table or database
and (ii) make the pgstat time tunable per table or database. You can use
the reloptions column to store these info. These workarounds are much
simpler than that you proposed and they're almost for free.
Does not seem simple to me. Why would dba's want extra management work. We want all the stats to be there as we don't know when we need to look at it.


--
 Euler Taveira de Oliveira
 http://www.timbira.com/

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] "\ef " in psql
Next
From: Markus Wanner
Date:
Subject: Re: Synchronous Log Shipping Replication