1.

Which system variable controls the size of the table cache?(a) table_cache(b) cache_table(c) open_cache(d) cache_openThe question was posed to me in an interview for internship.I want to ask this question from Administrative-Level Optimizations topic in division Query Optimization of MySQL

Answer»

Right OPTION is (a) table_cache

The best I can explain: In MySQL, when the SERVER opens table files it keeps them open to MINIMIZE the NUMBER of file-opening operations. It maintains information about open files in the table cache.



Discussion

No Comment Found

Related InterviewSolutions