1.

Which system variable tells the optimizer to skip certain plans based on estimates of the number of rows accessed for each table?(a) optimizer_prune_level(b) optimizer_search_depth(c) optimizer_search(d) optimizer_pruneThis question was posed to me in an online interview.I'd like to ask this question from MySQL Query Optimizer topic in chapter Query Optimization of MySQL

Answer» CORRECT ANSWER is (a) optimizer_prune_level

The explanation is: The optimizer_prune_level VARIABLE tells the optimizer to skip CERTAIN plans based on estimates of the number of rows accessed for each table. This option is kept on by default.


Discussion

No Comment Found

Related InterviewSolutions