1.

Which statement on the master expires binary log files?(a) SHOW SLAVE STATUS(b) PURGE MASTER(c) PURGE SLAVE(d) SHOW MASTER STATUSThe question was posed to me during an internship interview.I'm obligated to ask this question of Setting Up Replication Servers in chapter Database Maintenance, Backups and Replication of MySQL

Answer»

Right CHOICE is (B) PURGE MASTER

For explanation I would say: The ‘PURGE MASTER’ statement on the master expires binary log files. This can be used after ISSUING a ‘SHOW SLAVE STATUS’ statement on each of the slaves to determine which log files are no longer needed.



Discussion

No Comment Found

Related InterviewSolutions