MySQL InnoDB每次意外停机都会崩溃吗?太痛苦。。。

2013-02-15 15:14:55 +08:00
 andybest
BuyVM这两天老抽,每次停机我的InnoDB数据库就完蛋了:

130215 14:34:40 InnoDB: Error: page 461 log sequence number 10364237387
InnoDB: is in the future! Current system log sequence number 10364234948.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: file read of page 531.
InnoDB: You may have to recover from a backup.
130215 14:34:40 InnoDB: Page dump in ascii and hex (16384 bytes):

我需要 导出/导入 10G的数据来恢复。。。

而如果使用MyISAM,则轻松的一个repair就搞定了。。。

InnoDB真的就是如此痛苦吗?大家如何解决这个问题的呢?
2855 次点击
所在节点    问与答
2 条回复
y051313
2013-02-15 21:33:22 +08:00
同问,早上重启服务器后,过了5个小时才发现数据库crash了。
有什么办法至少能监测到数据库crash吗?
Even
2013-02-15 21:58:20 +08:00
LZ中信人?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/60388

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX