Search Postgresql Archives

Multiple column index question.

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

 



If I have an index that's composed of 2 columns:
    Index index1 on tableA (foo,bar)

and I then:
    Select cola, colb from tableA where foo=<value>

Will index1 still be used, or am I looking at a seqscan under all 
circumstances in this case?

TIA
-jan m


[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