Re: speed of querry? - Mailing list pgsql-performance

From Tom Lane
Subject Re: speed of querry?
Date
Msg-id 1428.1113495647@sss.pgh.pa.us
Whole thread Raw
In response to Re: speed of querry?  (Dawid Kuroczko <qnex42@gmail.com>)
Responses Re: speed of querry?  ("Joel Fradkin" <jfradkin@wazagua.com>)
List pgsql-performance
Dawid Kuroczko <qnex42@gmail.com> writes:
> Basically it tells postgres how many values should it keep for
> statistics per column.  The config default_statistics_target
> is the default (= used when creating table) and ALTER... is
> a way to change it later.

Not quite.  default_statistics_target is the value used by ANALYZE for
any column that hasn't had an explicit ALTER SET STATISTICS done on it.
So you can change default_statistics_target and that will affect
existing tables.

(It used to work the way you are saying, but that was a few releases
back...)

            regards, tom lane

pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Foreign key slows down copy/insert
Next
From: Richard_D_Levine@raytheon.com
Date:
Subject: Re: Intel SRCS16 SATA raid?