Skip to content
This repository
Browse code

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...
commit 597819d3a503cf208dae32153f48ff7bf2cad615 1 parent 74bd9ce
Jason Morrison jasonm authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 best-practices/README.md
4 best-practices/README.md
Source Rendered
@@ -46,8 +46,8 @@ Postgres
46 46 --------
47 47
48 48 * Avoid multicolumn indexes in Postgres. It [combines multiple
49   - indexes](http://goo.gl/pY3Po) efficiently. Optimize later with a compound
50   - index if needed.
  49 + indexes](http://goo.gl/pY3Po) efficiently. Optimize later with a [compound
  50 + index if needed](http://www.postgresql.org/docs/9.2/static/indexes-bitmap-scans.html).
51 51 * Consider a [partial index](http://goo.gl/YC8Jt) for queries on booleans.
52 52 * Constrain most columns as [`NOT NULL`](http://goo.gl/0GeBr).
53 53

0 comments on commit 597819d

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