1.

Which option repairs MyISAM tables automatically after they open?(a) –myisam-recover=FORCE(b) –myisam-recover=STOP(c) –recover-myisam=FORCE(d) –recover-myisam=STOPI had been asked this question in an interview.The query is from Loading Data Efficiently topic in portion Query Optimization of MySQL

Answer»

Correct answer is (a) –myisam-recover=FORCE

The EXPLANATION: In order to make SURE that the REPAIRS happen the server is started with the –myisam-recover=FORCE option. This enables the server to CHECK MyISAM tables when it opens them and REPAIR them automatically.



Discussion

No Comment Found

Related InterviewSolutions