Q19 PostgreSQL Domain 2 · 25–30% of exam Priority · Real Exam

What does 'EXPLAIN ANALYZE' reveal that 'EXPLAIN' alone does not?

  1. A The estimated row count
  2. B Actual execution times and row counts from really running the query (correct answer)
  3. C The index definitions
  4. D The lock modes taken

Shortcut: EXPLAIN shows the planner's estimates; EXPLAIN ANALYZE executes the statement and reports real timings and row counts, exposing bad estimates and missing indexes.