1Z0-873 · Question #58
After a server crash, some InnoDB tables need to be repaired. However, when the server is restarted, auto-recover failed. How would you repair the InnoDB tables?
The correct answer is A. Restart the server with the --innodb_force_recovery option. In rare cases, the server might not start up due to failure of InnoDB auto-recovery. If that happens, use the following procedure: Restart the server with the --innodb_force_recovery option set to a value in the range from 1 to 6. These values indicate increasing levels of…
Question
After a server crash, some InnoDB tables need to be repaired. However, when the server is restarted, auto-recover failed. How would you repair the InnoDB tables?
Options
- ARestart the server with the --innodb_force_recovery option.
- BExecute the REPAIR TABLE command.
- CExecute the OPTIMIZE TABLE command.
How the community answered
(58 responses)- A83% (48)
- B10% (6)
- C7% (4)
Explanation
In rare cases, the server might not start up due to failure of InnoDB auto-recovery. If that happens, use the following procedure: Restart the server with the --innodb_force_recovery option set to a value in the range from 1 to 6. These values indicate increasing levels of caution in avoiding a crash, and increasing levels of tolerance for possible inconsistency in the recovered tables. A good value to start with is 4. (...)
Topics
Community Discussion
No community discussion yet for this question.