Multi-variable indexes in postgres
Posted
by Jackson Davis
on Stack Overflow
See other posts from Stack Overflow
or by Jackson Davis
Published on 2010-05-09T20:01:55Z
Indexed on
2010/05/09
20:18 UTC
Read the original article
Hit count: 285
Im looking at an application where I will be doing quite a few SELECT
s where I am trying to find column_a = x AND column_b = y
.
Is the correct to create that index that something like the following?
CREATE INDEX index_name ON table (column_a, column_b)
© Stack Overflow or respective owner