From: Josh berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomasz Ostrowski <tometzky+pg@ato.waw.pl>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [BUGS] Routine analyze of single column prevents standard autoanalyze from running at all
Date: Mon, 6 Jun 2016 15:23:30 -0500
Message-ID: <5755DBC2.9040007@agliodbs.com> (raw)
In-Reply-To: <WM!3b713ccc015c0c47227d1456caf75c57fb15350b789ac43e940c60b7507990cad27fa6afdc0df2c3e2d3afaa80b692c8!@mailstronghold-2.zmailcloud.com>
References: <ef99c1bd-ff60-5f32-2733-c7b504eb960c@ato.waw.pl>
<28700.1465238280@sss.pgh.pa.us>
<WM!3b713ccc015c0c47227d1456caf75c57fb15350b789ac43e940c60b7507990cad27fa6afdc0df2c3e2d3afaa80b692c8!@mailstronghold-2.zmailcloud.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 06/06/2016 01:38 PM, Tom Lane wrote:
> Also, I'd be a bit inclined to disable the counter reset whenever a column
> list is specified, disregarding the corner case where a list is given but
> it includes all the table's analyzable columns. It doesn't really seem
> worth the effort to account for that case specially (especially after
> you consider that index expressions should count as analyzable columns).
>
> Thoughts?
+1. Better to err on the side of duplicate analyzes than none at all.
Also, I'm not surprised this took so long to discover; I doubt most
users are aware that you *can* analyze individual columns.
--
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us, tometzky+pg@ato.waw.pl, pgsql-hackers@postgreSQL.org
Subject: Re: [BUGS] Routine analyze of single column prevents standard autoanalyze from running at all
In-Reply-To: <5755DBC2.9040007@agliodbs.com>
References: <ef99c1bd-ff60-5f32-2733-c7b504eb960c@ato.waw.pl> <28700.1465238280@sss.pgh.pa.us> <WM!3b713ccc015c0c47227d1456caf75c57fb15350b789ac43e940c60b7507990cad27fa6afdc0df2c3e2d3afaa80b692c8!@mailstronghold-2.zmailcloud.com> <5755DBC2.9040007@agliodbs.com>
* 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