Re: speed of querry?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dawid Kuroczko <qnex42(at)gmail(dot)com>
Cc: Joel Fradkin <jfradkin(at)wazagua(dot)com>, PERFORM <pgsql-performance(at)postgresql(dot)org>
Subject: Re: speed of querry?
Date: 2005-04-14 16:20:47
Message-ID: 1428.1113495647@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dawid Kuroczko <qnex42(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard_D_Levine 2005-04-14 16:22:15 Re: Intel SRCS16 SATA raid?
Previous Message Stephan Szabo 2005-04-14 16:11:41 Re: Foreign key slows down copy/insert