From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dawid Kuroczko <qnex42@gmail.com>
Cc: Joel Fradkin <jfradkin@wazagua.com>
Cc: PERFORM <pgsql-performance@postgresql.org>
Subject: Re: speed of querry?
Date: Thu, 14 Apr 2005 12:20:47 -0400
Message-ID: <1428.1113495647@sss.pgh.pa.us> (raw)
In-Reply-To: <758d5e7f05041409044eadfcd1@mail.gmail.com>
References: <758d5e7f0504140720754c7750@mail.gmail.com>
<000b01c54100$a68d2300$797ba8c0@jfradkin>
<758d5e7f05041409044eadfcd1@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, qnex42@gmail.com, jfradkin@wazagua.com
Subject: Re: speed of querry?
In-Reply-To: <1428.1113495647@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox