Chapter 12. Indexes

Table of Contents

12.1. Introduction
12.2. Index Types
12.3. Multicolumn Indexes
12.4. Indexes and ORDER BY
12.5. Combining Multiple Indexes
12.6. Unique Indexes
12.7. Indexes on Expressions
12.8. Partial Indexes
12.9. Index-Only Scans and Covering Indexes
12.10. Operator Classes and Operator Families
12.11. Indexes and Collations
12.12. Examining Index Usage

Indexes are a common way to enhance database performance. An index allows the database server to find and retrieve specific rows much faster than it could do without an index. But indexes also add overhead to the database system as a whole, so they should be used sensibly.