Parameters that affect MySQL shutdown innodb_fast_shutdown

Source: Internet
Author: User

in the closeMySQLwhen the parameterInnodb_fast_shutdown willaffects the storage engine asInnodbthe behavior of the table. The value of this parameter is {0,1,2}. Parameter value is 0RepresentativeMySQLwhen off,InnoDBneed to complete all theFull purgeand theMergeinsert Bufferoperation, this process will take a certain amount of time, and sometimes it may take several hours. In doingInnoDB Pluginwhen upgrading, it is common to say that this parameter is adjusted to0, and then close the database. Parameter value is1is the default value for this parameter, which means closeMySQLWhen not completedFullpurgeand theMerge Insert Buffer, but the dirty pages in the buffer pool are still written to disk. Parameter value is2indicates that neither completeFullpurgeand theMerge Insert Buffer, and the dirty pages in the buffer pool are not flushed to disk, but the logs are written to the log file. In this case, the transaction is not lost, but the next time you startMySQLinstance recovery is performed.

This article is from "Master Wang" blog, please be sure to keep this source http://johnnywong.blog.51cto.com/1997751/1660729

Parameters that affect MySQL shutdown innodb_fast_shutdown

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.