安全删除binlog、使用binlog恢复mysql数据

    Read

在数据库正常使用的时候,默认binlog会一直放在一个文件中(大约1.1G),因此导致一个文件非常大,因此在必要的时候可能需要删除一些binlog日志文件:

删除日志文件:SourceByrd's Weblog-https://note.t4x.org/database/delete-restoration-log-bin/

方式一:


方式二:
SourceByrd's Weblog-https://note.t4x.org/database/delete-restoration-log-bin/

恢复日志文件:

SourceByrd's Weblog-https://note.t4x.org/database/delete-restoration-log-bin/

申明:本文由BYRD原创(基于Mysql5.6.16),未经许可禁止转载!SourceByrd's Weblog-https://note.t4x.org/database/delete-restoration-log-bin/ SourceByrd's Weblog-https://note.t4x.org/database/delete-restoration-log-bin/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on July 19, 2014
  • 原文链接:https://note.t4x.org/database/delete-restoration-log-bin/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: