You are not logged in.
Hi
I use mariadb for Icinga, and over a year, the files over at /var/lib/mysql/* became almost one GB each.
I'm looking for a way to reduce these files size. It the reason is Icinga keeping too long history records, cutting it to one whole year would be nice.\
What do you suggest me to do with these files?
Cheers.
Last edited by Xi0N (2013-09-23 10:35:56)
Offline
Fixed: http://forums.mysql.com/read.php?10,78659,78660
With your mysql client :
mysql -u root -p
then
mysql> flush logs;
will create a brand new mysql-bin.0000xy
mysql> purge binary logs to 'mysql-bin.0000xy';
will purge all your logs files before the last.
Offline