有没有更快的方法来备份和恢复mysql?
Sql Server 和 Oracle 拥有 Idera (Sql Safe) 和 Quest (LiteSpeed) 等商业产品,可显着加快备份和恢复速度。
mysql有类似的商业软件吗?
我正在 mysql 中处理大量数据,如果我们必须恢复它需要 8-10 小时。 因此,我希望转向能够更快完成此任务的商业产品。
有什么想法吗?
Sql Server and Oracle have commercial products like Idera (Sql Safe) and Quest (LiteSpeed) that dramatically speed up backup and restores.
Does mysql have any commercial software like that?
I'm working with large amounts of data in mysql and if we have to restore it takes 8-10 hours. So I'm hoping to move to a commercial product that can do it faster.
Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果商业选项适合您,请查看 InnoDB 热备份。 他们说
备份时间与文件复制时间相当,并且恢复速度更快。
If a commercial option works for you, check out InnoDB Hot Backup. They say that
backup time is comparable to file copy time and recovery is faster.
您可以查看 xtrabackup。 它仍然是 alpha,但根据 上次发布公告它“在我们的测试中显示出完美稳定的结果”。
我没有尝试过它的性能,但它似乎比 mysqldump 生成的 sql 输出更底层。
You could check out xtrabackup. It is still alpha, but according to the last release announcement it "shows perfect stable results in our tests".
I have not tried it to know the performance, but it appears to be more low-level than the sql output that mysqldump generates.
MySQL 备份和恢复 恢复数据库软件 7.0 就是其中之一,但是恢复备份主要是一系列长长的 INSERT 语句,因此您可以在此处查看有关提高性能的提示INSERT 语句的速度
MySQL Backup & Restore Databases Software 7.0 is one, but Restoring a backup is mostly a long series of INSERT statements so you check here for tips on improving performance Speed of INSERT Statements
在线备份并不正是您所寻找的。 MySQL 现有的工具没有提供其他 DBMS 供应商所拥有的许多功能。 如果启用 MySQL 二进制日志,您可以进行“时间点”恢复。 然而,初始加载仍然需要很长时间。
http://dev.mysql.com/doc/refman/ 5.1/en/binary-log.html
http://dev.mysql.com/doc/refman/5.1/en/point-in-time-recovery.html
Online backups are not exactly what you are looking for. The tools out there that exist for MySQL don't provide a lot of functionality that other DBMS vendors have. If you enable MySQL binary logs you can have "point in time" recovery. However, the initial load will still take forever.
http://dev.mysql.com/doc/refman/5.1/en/binary-log.html
http://dev.mysql.com/doc/refman/5.1/en/point-in-time-recovery.html