本文主要是介绍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.
这篇关于Reclaim space after drop database or tables via deleting the generated binlog files的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!