Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 480 Bytes

DB.md

File metadata and controls

12 lines (8 loc) · 480 Bytes

数据库相关知识点

备份

  • 先写日志,再写 SQL。这样可以保证当 SQL 写入出现问题时,可以查到日志。

备份策略

周日 周一 周二 周三 周四 周五 周六
完全备份 增量备份 增量备份 增量备份 差量备份 增量备份 增量备份

周四差量备份可以保证当周五或周六出现问题时,不用一次次的反复回复一二三的增量备份。