V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
andybest
V2EX  ›  问与答

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

  •  
  •   andybest · 2013-02-15 15:14:55 +08:00 · 2849 次点击
    这是一个创建于 4110 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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真的就是如此痛苦吗?大家如何解决这个问题的呢?
    2 条回复    1970-01-01 08:00:00 +08:00
    y051313
        1
    y051313  
       2013-02-15 21:33:22 +08:00
    同问,早上重启服务器后,过了5个小时才发现数据库crash了。
    有什么办法至少能监测到数据库crash吗?
    Even
        2
    Even  
       2013-02-15 21:58:20 +08:00
    LZ中信人?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1123 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:34 · PVG 02:34 · LAX 11:34 · JFK 14:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.