Re: Help on query plan. - Mailing list pgsql-general

From William N. Zanatta
Subject Re: Help on query plan.
Date
Msg-id 3E2D8EE3.2010400@veritel.com.br
Whole thread Raw
In response to Re: Help on query plan.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>
> Try like 50 or 100.  Also, does the EXPLAIN result change with the
> higher correlation figures?  I'd expect estimated cost of indexscan
> to drop with higher correlation.
>
> If you dig into the pghackers archives you will find some discussions
> about changing the equation used for adjusting indexscan based on
> correlation.  I suspect the real solution to your problem will be to
> alter the equation.  But I'm curious about whether we have reliable
> stats, first...
>


   Don't know what happened. Now it only shows me Index Scans, even if
it set the stats values back to 10 or less (tried 0 too). It's just
showing up Index Scans for that query.

   Now, I'm confused... =/

   what could have happened?

   william


--
Perl combines all of the worst aspects of BASIC, C and line noise.
                 -- Keith Packard


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/Python
Next
From: Tom Jenkins
Date:
Subject: Re: PL/Python