Skip to content

A query plan is the sequence of physical operations a database chooses to produce the result of a query.

A plan can include table or index scans, join algorithms, sorting, aggregation, and estimated row counts. Cost-based planners compare candidate plans using statistics.

Reading the chosen plan helps distinguish an expensive access path from a slow application pattern.

Used in DKKB