Best way to archive live MySQL database

前端 未结 6 887
遥遥无期
遥遥无期 2020-12-08 05:11

We have a live MySQL database that is 99% INSERTs, around 100 per second. We want to archive the data each day so that we can run queries on it without affecting the main, l

6条回答
  •  没有蜡笔的小新
    2020-12-08 05:36

    Sounds like replication is the best solution for this. After the initial sync the slave gets updates via the Binary Log, thus not affecting the master DB at all.

    More on replication.

提交回复
热议问题