1.

All queries can be cached.(a) True(b) FalseThis question was posed to me in examination.My question comes from Administrative-Level Optimizations in section Query Optimization of MySQL

Answer»

Right choice is (b) False

Best EXPLANATION: A query is not cached if the query RETURNS non DETERMINISTIC RESULTS. For example, a query that uses the NOW() function returns different results over time. THEREFORE, it cannot be cached.



Discussion

No Comment Found

Related InterviewSolutions