From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron Mayer <ron@intervideo.com>
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Does "correlation" mislead the optimizer on large
Date: Fri, 24 Jan 2003 15:22:21 -0500
Message-ID: <21093.1043439741@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0301241138070.986-100000@localhost.localdomain>
References: <Pine.LNX.4.44.0301241138070.986-100000@localhost.localdomain>
Ron Mayer <ron@intervideo.com> writes:
> A proposal.... (yes I I'm volunteering if people point me in the right
> direction)... would be to have a "plugable" set of analyze functions so that a
> huge database that runs analyze infrequently could choose to have a very slow
> analyze that might work better for it's data.
I do not think ANALYZE is the problem here; at least, it's premature to
worry about that end of things until you've defined (a) what's to be
stored in pg_statistic, and (b) what computation the planner needs to
make to derive a cost estimate given the stats.
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 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-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, ron@intervideo.com, sszabo@megazone23.bigpanda.com
Subject: Re: Does "correlation" mislead the optimizer on large
In-Reply-To: <21093.1043439741@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0301241138070.986-100000@localhost.localdomain> <21093.1043439741@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