1.

To determine whether query cache is supported by the server the variable is _________________(a) have_query_cache(b) have_cache_query(c) query_cache_have(d) cache_query_haveI had been asked this question in examination.The doubt is from Administrative-Level Optimizations in section Query Optimization of MySQL

Answer»

Right answer is (a) have_query_cache

For EXPLANATION: In MYSQL, in order to determine whether a server supports the query cache or not, the value of the ‘have_query_cache’ system variable is CHECKED. It returns ‘YES’ if SUPPORT is available.



Discussion

No Comment Found

Related InterviewSolutions