MySQL Forums
Forum List  »  Replication

Re: relay-bin files not being cleaned up
Posted by: Rick James
Date: August 15, 2014 03:11PM

Puzzling.

> does a PURGE BINARY LOGS to the current binary log retrieved.

That sounds like good cleanup, but only if you have only one Slave. Or is it smart enough to check all Slaves?

> Do the relay-log deletions depend upon the binary logs?

I don't think there is any connection between the two.

Is the Slave shutdown 'cleanly'?
Do you do FLUSH LOGS on the Slave? (Probably not needed; might be implicated.)

> Relay-bin.index shows these 394 logs.

Ouch. Check the permissions of that file.

Is the backup script something that you wrote?
Can we see all the steps it does? (No, I don't know what I am looking for -- hoping for something to jump out.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: relay-bin files not being cleaned up
2292
August 15, 2014 03:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.