Plan vocabulary
Use these definitions alongside the output in Read a query plan.
| Term | Meaning |
|---|---|
| Access path | A method for obtaining rows, such as a sequential or index scan. |
| Cardinality | Number of rows at a point in query execution. |
| Cost | Planner estimate in relative units, not elapsed milliseconds. |
| Selectivity | Fraction of rows a condition matches. |
| Sequential scan | Reads through the table and applies its filter. |
| Index condition | Condition used to constrain access through an index. |
| Filter | Test applied to candidate rows after they are obtained. |
| Bitmap heap scan | Fetches table pages using row positions assembled through bitmap access. |
| Index-only scan | Uses index values and visibility information to avoid heap access where possible. |
| Heap | PostgreSQL table storage containing row versions. |
| Visibility map | Per-page information including whether all tuples are visible to all relevant transactions. |
| Buffer hit | A requested block was already in PostgreSQL's shared buffer cache. |
| Buffer read | PostgreSQL loaded a block into its shared buffer cache. The operating system can supply it from memory. |
| Loop | One execution of a plan node. PostgreSQL reports actual rows per loop. |
| Covering index | Index containing all column values a particular query needs. |
| Extended statistics | Statistics describing relationships between columns or expressions. |
| Dependencies | Statistics about how strongly columns determine one another. |
| MCV | Most-common-values list, which can include combinations across columns. |
| MVCC | Multiversion concurrency control: row versions support transaction visibility. |
| HOT | Heap-only tuple update: an optimization that can avoid new index entries when its conditions hold. |
See Using EXPLAIN for the full reference.