Databases · Middle · Question 11 of 75

What is the difference between EXPLAIN and EXPLAIN ANALYZE?

Explanation

Because ANALYZE runs the query, wrap data-changing statements in BEGIN ... ROLLBACK. Add BUFFERS to see how much data was read.

Further reading

Problem with a question

Databases · Middle · question 11

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz