1.

For which table does ‘REPAIR TABLE’ not work?(a) MyISAM(b) ARCHIVE(c) CSV(d) InnoDBThis question was addressed to me in an online quiz.This intriguing question originated from Performing Database Maintenance with the Server Running topic in portion Database Maintenance, Backups and Replication of MySQL

Answer»

The correct option is (d) InnoDB

The EXPLANATION: ‘REPAIR TABLE’ works for MyISAM, ARCHIVE, and CSV tables. For MyISAM tables, it has the same EFFECT as ‘myisamchk –recover’ tbl_name by default. This statement does not work with views.



Discussion

No Comment Found

Related InterviewSolutions