1.

Which mode tells cache queries that begin with SELECT SQL_CACHE?(a) 0(b) 1(c) 2(d) 3I got this question in an interview.The question is from Administrative-Level Optimizations topic in chapter Query Optimization of MySQL

Answer»

Correct option is (c) 2

The best explanation: The have_query_cache system variable is used to check whether there is support for query cache. The MODE ‘2’ tells cache only those queries that begin with SELECT SQL_CACHE.



Discussion

No Comment Found

Related InterviewSolutions