1.

Which table option for MyISAM tables reduces index flushing?(a) DELAY_KEY_WRITE(b) DELAY_WRITE_KEY(c) KEY_WRITE_DELAY(d) WRITE_KEY_DELAYThis question was addressed to me in an interview for job.Origin of the question is Loading Data Efficiently topic in chapter Query Optimization of MySQL

Answer»

Correct choice is (a) DELAY_KEY_WRITE

Easy explanation: For MYISAM tables a strategy for reducing index FLUSHING is to USE the DELAY_KEY_WRITE table OPTION. With this option the data ROWS are written to the data file immediately.



Discussion

No Comment Found

Related InterviewSolutions