AI engineering glossary · SQL databases

What is execution plan?

Execution plan (also called Query plan): The step-by-step strategy the database chooses to run a query: which tables are read in what order, which indexes and join methods are used, and estimated or actual costs and row counts. Reading it is the main tuning skill.

Level: intermediateTopic: SQL databases

Execution plan: an example

A plan showing a sequential scan on a 10 million row table suggests a missing index.

Related terms

More SQL databases terms

Where you learn it

Execution plan is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.