Oracle
1Z0-883 · Question #33
A user executes the statement; PURGE BINARY LOGS TO `mysql-bin.010'; What is the result?
The correct answer is C. It deletes all binary log files before `mysql-bin.010'. The PURGE BINARY LOGS statement deletes all the binary log files listed in the log index file prior to the specified log file name.
Backup and Recovery
Question
A user executes the statement; PURGE BINARY LOGS TO `mysql-bin.010'; What is the result?
Options
- AIt deletes all binary log files, except `mysql-in.010'.
- BIt deletes all binary log files up to and including `mysql-bin.010'.
- CIt deletes all binary log files before `mysql-bin.010'.
- DIt deletes all binary log files after `mysql-bin.010'.
How the community answered
(35 responses)- A3% (1)
- B14% (5)
- C77% (27)
- D6% (2)
Explanation
The PURGE BINARY LOGS statement deletes all the binary log files listed in the log index file prior to the specified log file name.
Topics
#binary logs#PURGE BINARY LOGS#log management#binary log rotation
Community Discussion
No community discussion yet for this question.