All Questions
Database Indexing easy

What is the purpose of running `EXPLAIN SELECT ...`?

  1. A To verify the lexical and syntactic correctness of the SQL statement without actually connecting to the database engine.
  2. B To execute the query in a temporary sandbox environment and immediately rollback all changes to ensure data safety.
  3. C To manually add the query and its estimated results to the database's internal high-speed memory cache for future reuse.
  4. D To view the Query Execution Plan, which reveals the chosen indexes, estimated row counts, and join algorithms.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions