Skip to content
Browse files

Add link for postgres multi-column indexes

Link to a discussion of the tradeoffs between combining multiple indexes vs using compound indexes.
  • Loading branch information...
1 parent 74bd9ce commit 597819d3a503cf208dae32153f48ff7bf2cad615 @jasonm jasonm committed Oct 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 best-practices/README.md
View
4 best-practices/README.md
@@ -46,8 +46,8 @@ Postgres
--------
* Avoid multicolumn indexes in Postgres. It [combines multiple
- indexes](http://goo.gl/pY3Po) efficiently. Optimize later with a compound
- index if needed.
+ indexes](http://goo.gl/pY3Po) efficiently. Optimize later with a [compound
+ index if needed](http://www.postgresql.org/docs/9.2/static/indexes-bitmap-scans.html).
* Consider a [partial index](http://goo.gl/YC8Jt) for queries on booleans.
* Constrain most columns as [`NOT NULL`](http://goo.gl/0GeBr).

0 comments on commit 597819d

Please sign in to comment.
Something went wrong with that request. Please try again.