Startup, shutdown, and restoration of the InnoDB Storage Engine

Source: Internet
Author: User

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.