其他分享
首页 > 其他分享> > Reclaim space after drop database or tables via deleting the generated binlog files

Reclaim space after drop database or tables via deleting the generated binlog files

作者:互联网

1.

sudo -i;

2.

cd /var/lib/mysql/;
ls -lct;

 

 

3.Delete binlog files

rm -rf binlog.*

 

4.

ls -lct;

 

 

5.Then check the space via df -h;

 

 

As the above snapshot illustrates that /dev/sda5 has emptied more and spare more space.

 

标签:files,tables,via,binlog,after,space,ls,more
来源: https://www.cnblogs.com/Fred1987/p/16319098.html