Search Postgresql Archives

Re: Query not using index despite high statistics

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

 



Henrik Zagerholm <henke@xxxxxx> writes:
> I have a SELECT  query that uses Seq scans instead of index scan  
> despite that the index scan is faster.

Try 8.2, it's a bit smarter about the costs of repeated indexscans
on the inside of a nestloop.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux