1.

To reactivate indexes the command used is _________________(a) DISABLE KEYS(b) DISABLE INDEXES(c) ENABLE KEYS(d) ENABLE INDEXESThis question was posed to me by my college professor while I was bunking the class.The origin of the question is Loading Data Efficiently in section Query Optimization of MySQL

Answer»

Correct answer is (C) ENABLE KEYS

Easiest explanation: In MySQL, the clauses ‘DISABLE KEYS’ and ‘ENABLE KEYS’ are USED to DEACTIVATE and reactivate indexes for the table. The server does the WORK in deactivations and reactivations.



Discussion

No Comment Found

Related InterviewSolutions