1.

The statement that performs key distribution analysis and stores the distribution for the named tables is _____________(a) CHECK TABLE(b) ANALYZE TABLE(c) CHECKSUM TABLE(d) OPTIMIZE TABLEThe question was posed to me by my college professor while I was bunking the class.My query is from Performing Database Maintenance with the Server Running topic in section Database Maintenance, Backups and Replication of MySQL

Answer»

Right answer is (b) ANALYZE TABLE

The best explanation: ‘ANALYZE TABLE’ PERFORMS a KEY DISTRIBUTION ANALYSIS and stores the distribution for the named table or tables. For the MyISAM tables, this statement is equivalent to using ‘myisamchk –analyze’.



Discussion

No Comment Found

Related InterviewSolutions