开发者

Multi-variable indexes in postgres

Im looking at 开发者_如何学Goan application where I will be doing quite a few SELECTs 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)


Yes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜