1.

REPAIR TABLE does not work for _____________(a) MyISAM(b) ARCHIVE(c) InnoDB(d) CSVI got this question during an online interview.I want to ask this question from Principles of Preventive Maintenance topic in portion Database Maintenance, Backups and Replication of MySQL

Answer» CORRECT choice is (c) InnoDB

To elaborate: ‘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