MySQL slave server not removing old relay binlogs

Posted by MKzero on Server Fault See other posts from Server Fault or by MKzero
Published on 2013-06-26T08:31:15Z Indexed on 2013/06/26 16:22 UTC
Read the original article Hit count: 365

Filed under:
|

I have a MySQL server with slave replication on another host. Today I stumbled across the high disk usage of the slave host and invastigated what takes up all the space. As it turns out this space is occupied by the slaves relay logs.

I tried to turn the expire_logs_days variable down and restarted the MySQL daemon but the reported disk space stays the same. I could't really find anything exept that FLUSH LOGS should clear old logs. I tried that with no result.

Is there any way I can reduce the disk space that the relay logs take?

© Server Fault or respective owner

Related posts about mysql

Related posts about mysql-replication