• 技术文章 >数据库 >mysql教程

    Improving Innochecksum_MySQL

    2016-06-01 13:07:37原创493

    InWL#6045we improved theinnochecksum tool so that it opens the tablespace file and validates the checksum for each page. It compares the calculated checksum to the stored checksum in the page and reports mismatches, if any. It can also now rewrite page checksums in the tablespace. It is an offline tool, however, so make sure that the MySQL server is not using the tablespace files when running the innochecksum tool.

    When InnoDB encounters a page checksum mismatch, it will cause an ASSERT and perform a forced shutdown. So rather than wait for InnoDB to encounter this in production, it is better to use the innochecksum tool to validate and correct any checksum issues ahead of time. You could perform these checks on yourMySQL Enterprise Backupfiles after a backup job completes, as an example.

    Again, the innochecksum tool cannot be used on tablespace files that the server already has open. When the MySQL server is running, you can instead use theCHECK TABLEcommand.

    Additional new features introduced in MySQL 5.7 for this tool include:

    Conclusion

    This post provided a brief introduction to the new features recently introduced in the innochecksum tool. For more information on the tool, please see the manualhere.

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:
    上一篇:MySQL连接数超过限制的解决方法 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • MySQL学习之聊聊查询语句执行流程• mysql数据库的超级管理员名称是什么• hive和mysql的区别有哪些• mysql怎么连接数据库• mysql事务隔离级别有哪些
    1/1

    PHP中文网