What does execution plan mean?

In databases & SQL, execution plan means the step-by-step strategy the database chooses to run a query, showing which indexes it uses, how tables are joined and how many rows it expects.

ˌɛksɪˈkjuːʃən plænnounCore term

Databases & SQL vocabulary · Indexes and Query Performance

In Turkish: yürütme planı, sorgu planı, execution plan

Also used in: Software Engineering

How it is used

Also called a query plan. You get it with EXPLAIN in PostgreSQL and MySQL (EXPLAIN ANALYZE also runs the query and shows real times) or with the estimated and actual plan views in SQL Server. Reading plans is a core skill for tuning slow queries.

Example sentences

  1. The execution plan shows a sequential scan on a ten-million-row table.

  2. Can you share the execution plan from production, not from your laptop?

Common collocations

  • read an execution plan
  • query plan
  • EXPLAIN ANALYZE
  • actual execution plan
  • estimated plan

More terms: Indexes and Query Performance

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: