You are using replication and the binary log files on your master server consume a lot of disk
space.
Which two steps should you perform to safely remove some of the older binary log files?
A.
Ensure that none of the attached slaves are using any of the binary logs you want to delete.
B.
Use the command PURGE BINARY LOGS and specify a binary log file name or a date and
time to remove unused files.
C.
Execute the PURGE BINARY LOGE NOT USED command.
D.
Remove all of the binary log files that have a modification date earlier than today.
E.
Edit the .index file to remove the files you want to delete.
Explanation:
Incomplete.
A, B.
C wouldn’t work.. just doesn’t.
E is something you just never do as ‘normal’ maint.
You can’t count on D, as it could be around 1 AM (server time) and the slaves might still be pulling yesterday’s logs, or could be catching up.
A and B are the only ones.
At least this question does request TWO parts to the answer.
A< B