Re: Index Scans become Seq Scans after VACUUM ANALYSE

Michael Loftis <mloftis@wgops.com>

From: Michael Loftis <mloftis@wgops.com>
To: pgsql-hackers@postgresql.org
Date: 2002-04-17T14:24:04Z
Lists: pgsql-hackers

Thomas Lockhart wrote:

>
>Systems which have optimizing planners can *never* be guaranteed to
>generate the actual lowest-cost query plan. Any impression that Oracle,
>for example, actually does do that may come from a lack of visibility
>into the process, and a lack of forum for discussing these edge cases.
>
I wholly agree...  Oracle has some fairly *sick* ideas at times about 
what to do in the face of partial ambiguity.  (I've got a small set of 
queries that will drive any machine with PeopleSoft DBs loaded to near 
catatonia...) :)

As far as the 'planner benchmark suite' so we cans tart gathering more 
statistical data about what costs should be, or are better at, that's an 
excellent idea.