1.

Which statement is used to verify optimizer operation?(a) ANALYZE(b) VERIFY(c) EXPLAIN(d) SHOWI have been asked this question at a job interview.The doubt is from MySQL Query Optimizer topic in section Query Optimization of MySQL

Answer» CORRECT OPTION is (c) EXPLAIN

Explanation: The EXPLAIN STATEMENT in MYSQL can tell whether the INDEXES are being used or not. This information is helpful when different ways of writing a statement need to be tested.


Discussion

No Comment Found

Related InterviewSolutions