bin files - delete leftovers

9 views
Skip to first unread message

Marco Shaw

unread,
Jan 29, 2019, 12:14:19 PM1/29/19
to percona-d...@googlegroups.com
See here perhaps also, but I didn't get a response:

After I shutdown Percona and restart the VM, I have a bundle of leftover bin files:
root@...DB...:/.../mysql-log# ls -al *-bin*|wc -l
60

Roughly 5GB of files each time I restart the VM, which is accumulating slowly, but causing me space issues.

Whereas, this only gives me 16 "active ones":

mysql> show binary logs;
+------------------+------------+
| Log_name         | File_size  |
+------------------+------------+
...
+------------------+------------+
16 rows in set (0.00 sec)

Should I be "safe" to delete any remaining bin files that the DB doesn't seem to know about?

I have some remaining from 2018 and even 2017, while I actually restarted this node earlier this morning.

Marco

Reply all
Reply to author
Forward
0 new messages