Chapter 11. Indexes

Table of Contents
11.1. Introduction
11.2. Index Types
11.3. Multicolumn Indexes
11.4. Indexes and ORDER BY
11.5. Combining Multiple Indexes
11.6. Unique Indexes
11.7. Indexes on Expressions
11.8. Partial Indexes
11.9. Operator Classes and Operator Families
11.10. Indexes and Collations
11.11. Examining Index Usage

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly.

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.

Note: The following description applies only to Postgres-XC

Each index is maintained locally in coordinator and datanode in Postgres-XC. Cross validation of index entries among coordinators and datanodes is not performed in the current implementation.