InnoDB: Database page corruption on disk or a failed
2013-07-15 11:18
441 查看
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 5234.
InnoDB: You may have to recover from a backup.
文件损坏
mysql的参数innodb_force_recovery可以在启动时忽略一些检查项,于是在配置文件中设置innodb_force_recovery=6,启动没问题,不会再重启了,使用mysqldump导出了数据。
该参数各值含义如下:
默认为0,表示当需要恢复时执行所有的恢复操作(即校验数据页/purge undo/insert buffer merge/rolling back&forward).当不能进行有效的恢复操作时,mysql有可能无法启动,并记录下错误日志.
innodb_force_recovery可以设置为0-6,大的数字包含前面所有数字的影响.
当设置参数值大于0后,可以对表进行select,create,drop操作,但insert,update或者delete这类操作是不允许的.
1.(SRV_FORCE_IGNORE_CORRUPT): 忽略检查到的corrupt页.
2.(SRV_FORCE_NO_BACKGROUND): 阻止主线程的运行,如主线程需要执行full purge操作,会导致crash.
3.(SRV_FORCE_NO_TRX_UNDO): 不执行事务回滚操作.
4.(SRV_FORCE_NO_IBUF_MERGE): 不执行插入缓冲的合并操作.
5.(SRV_FORCE_NO_UNDO_LOG_SCAN): 不查看重做日志,InnoDB存储引擎会将未提交的事务视为已提交.
6.(SRV_FORCE_NO_LOG_REDO): 不执行前滚的操作.
InnoDB: file read of page 5234.
InnoDB: You may have to recover from a backup.
文件损坏
mysql的参数innodb_force_recovery可以在启动时忽略一些检查项,于是在配置文件中设置innodb_force_recovery=6,启动没问题,不会再重启了,使用mysqldump导出了数据。
该参数各值含义如下:
默认为0,表示当需要恢复时执行所有的恢复操作(即校验数据页/purge undo/insert buffer merge/rolling back&forward).当不能进行有效的恢复操作时,mysql有可能无法启动,并记录下错误日志.
innodb_force_recovery可以设置为0-6,大的数字包含前面所有数字的影响.
当设置参数值大于0后,可以对表进行select,create,drop操作,但insert,update或者delete这类操作是不允许的.
1.(SRV_FORCE_IGNORE_CORRUPT): 忽略检查到的corrupt页.
2.(SRV_FORCE_NO_BACKGROUND): 阻止主线程的运行,如主线程需要执行full purge操作,会导致crash.
3.(SRV_FORCE_NO_TRX_UNDO): 不执行事务回滚操作.
4.(SRV_FORCE_NO_IBUF_MERGE): 不执行插入缓冲的合并操作.
5.(SRV_FORCE_NO_UNDO_LOG_SCAN): 不查看重做日志,InnoDB存储引擎会将未提交的事务视为已提交.
6.(SRV_FORCE_NO_LOG_REDO): 不执行前滚的操作.
相关文章推荐
- mysql数据库崩溃:InnoDB: Database page corruption on disk or a failed
- vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock the file.
- vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node (文档 ID 415579.1)
- android update : folder failed to be renamed or moved on SDK install
- folder failed to be renamed or moved on SDK instal的处理方法
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node
- Improve Database Performance: Redo and Transaction Logs on Solid State Disks (SSDs)
- ORA-38760: This database instance failed to turn on flashback database
- ThinkPHP 连接 mongo Authentication failed on database 'admin':
- 虚拟机异常关闭,重新打开vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: fa
- Failed to load the JNI shared library jvm.dll on Intellij Idea or Eclipse
- Warning: require(D:\wamp\www\glink-smart\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\glink-smart\bootstrap\autoload.php on line 1
- Android Exception 17(database or disk is full)
- Zookeeper Troubleshoot- Unable to load database on disk
- A frame in a frameset may become blank on an ASP page or in an ASP.NET application(frameset 可能变成空白)
- php mongodb 链接失败,提示Authentication failed on database...[坑]
- ASM Diskgroup Creation Failed with "IBM AIX RISC system/6000: 6:no such device or address" [ID 12634
- Root.sh Failed on Second Node: Configuration of ASM Failed: Disk Group ... Already Exists [ID 138472
- 设置页面的默认焦点控件和默认接受事件控件How Do I Set the DefaultFocus or DefaultButton in a Page Based on a Master Page in ASP.NET 2.0