Search Postgresql Archives

Multiple column index usage question

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

 



Rather simple question, of which I'm not sure of the answer.

If I have a multiple column index, say:
    Index index1 on tableA (foo,bar)

and I then:
    Select * from "tableA" where foo = <some value>

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

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