开发者

Multi-variable indexes in postgres

开发者 https://www.devze.com 2022-12-30 04:30 出处:网络
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.

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

精彩评论

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