Disable innodb_fast_shutdown =
0. Complete all full purge and merge insert buffer operations (for example, during InnoDB plugin upgrade)
1 By default, the above operations are not required, but the dirty pages in the buffer pool are refreshed.
2. logs are written to the log file instead of the preceding two operations. The recovery operation will be performed the next time the log file is started.
If you do not close the database normally (such as the kill command)/innodb_fast_shutdown = 2, you need to restore the database.
Restore innodb_force_recovery =
0 is the default value, but all restoration operations are performed when recovery is required.
1. Ignore the checked upt page
2. Stop the running of the main thread. If the main thread needs to execute the full purge operation, crash may occur.
3. Do not perform transaction rollback
4. Do not merge insert buffer operations
5. If you do not view undo logs, the InnoDB Storage engine considers all uncommitted transactions as committed.
6. Do not roll back
Reference: <MySQL technology insider InnoDB Storage engine>