1.

To maintain performance of tables having variable length rows, which statement is used?(a) MAINTAIN TABLE(b) BALANCE TABLE(c) ADJUST TABLE(d) OPTIMIZE TABLEI got this question by my school principal while I was bunking the class.My enquiry is from Choosing Data Types for Efficient Queries in chapter Query Optimization of MySQL

Answer»

The correct option is (d) OPTIMIZE TABLE

Best explanation: In the VARIABLE LENGTH ROWS, there is more FRAGMENTATION of the table on which many DELETES or updates are performed. OPTIMIZE TABLE is run periodically to maintain performance.



Discussion

No Comment Found

Related InterviewSolutions