Re: Identical Queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/1/07, Rob Schall <rschall@xxxxxxxxxxx> wrote:
There are 4 entries (wanted to make the playing field level for this
test). There are 2 with true for istf and 2 with false.

Then the difference here has to do with using orignum vs destnum as the join criteria.  There must be more intersections for orignum than destnum, or your statistics are so far out of whack.  It appears to be estimating 5M vs 500K for a result set, and naturally it chose a different plan.

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux