Re: Suggestion for optimization - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Suggestion for optimization
Date
Msg-id 11039.1018050092@sss.pgh.pa.us
Whole thread Raw
In response to Re: Suggestion for optimization  (Peter Bierman <bierman@apple.com>)
List pgsql-hackers
Peter Bierman <bierman@apple.com> writes:
> ... Your comment: "An
> accurate cardinality figure can greatly enhance the optimizer's
> ability to perform joins in the correct order" was intriguing, and I'd
> be interested in Tom's thoughts on just that bit.

Approximate figures are quite sufficient for the planner's purposes.
AFAICS, making them exact would not improve the planning estimates
at all, because there are too many other sources of error.  We have
approximate stats already via vacuum/analyze statistics gathering.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQescapeBytea is not multibyte aware
Next
From: "Dann Corbit"
Date:
Subject: Re: Suggestion for optimization