Updated readme [skip ci]

This commit is contained in:
Andrew Kane
2024-10-28 22:44:44 -07:00
parent e6bae175f1
commit 6170e2645b

View File

@@ -442,7 +442,7 @@ CREATE INDEX ON items (category_id);
For multiple columns, consider a [multicolumn index](https://www.postgresql.org/docs/current/indexes-multicolumn.html).
```sql
CREATE INDEX ON items (store_id, category_id);
CREATE INDEX ON items (location_id, category_id);
```
Exact indexes work well for conditions that match a lower percentage of rows. Otherwise, [approximate indexes](#indexing) can work better.