Search Postgresql Archives

Re: Why won't it index scan?

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

 



Ed L. wrote:

Can someone help me understand why the 8.1.2 query below is
using a seq scan instead of an index scan?

Because the planner thinks a sequential scan would be faster than an index scan - in many situations, this is the case. See the FAQ:

  http://www.postgresql.org/docs/faqs.FAQ.html#item4.6

- John Burger
  MITRE



[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