Re: default_statistics_target - Mailing list pgsql-performance

From Robert Haas
Subject Re: default_statistics_target
Date
Msg-id 603c8f071003250844v4a4a1683vfc821cd99de0d998@mail.gmail.com
Whole thread Raw
In response to Re: default_statistics_target  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
List pgsql-performance
On Mon, Mar 22, 2010 at 6:19 PM, Carlo Stonebanks
<stonec.register@sympatico.ca> wrote:
> Thanks for the insight. How much more of a server's resources will be
> consumed by an ANALYZE with default_statistics_target = 100?

I don't think it will be much of a problem, especially since
autovacuum will do only the tables that need it and not all the same
time.  But you can certainly try it.  Before changing the global
setting, try just changing it for one session with SET:

\timing
ANALYZE <some table>;
SET default_statistics_target = 100;
ANALYZE <same table>;
\q

...Robert

pgsql-performance by date:

Previous
From: Tadipathri Raghu
Date:
Subject: Why Wal_buffer is 64KB
Next
From: Brad Nicholson
Date:
Subject: Re: Why Wal_buffer is 64KB