1.

To perform analysis of key values by the server, the statement used is __________(a) ANALYZE KEYS(b) ANALYZE TABLE(c) PERFORM ANALYSIS(d) PERFORM TABLE ANALYSISThis question was addressed to me in an interview for internship.My question is taken from MySQL Query Optimizer topic in division Query Optimization of MySQL

Answer»

Right choice is (b) ANALYZE TABLE

Easy explanation: In MySQL, for the MyISAM and InnoDB tables, the server can be TOLD to PERFORM an ANALYSIS of key values by issuing the ANALYZE TABLE STATEMENT. It helps in knowing about query optimization.



Discussion

No Comment Found

Related InterviewSolutions