Differences between binary and redo logs in MySQL database

Source: Internet
Author: User

First: The binary log logs all mysql-related log records, including InnoDB MyISAM heap, and other engine logs. The redo log for the InnoDB engine only records the transaction log associated with it.

Second: The content of the record is different, whether you set the binary log file format to statement or row, or mixed, its record is about a thing specific operation content. While the redo log file of the InnoDB storage Engine records the changes in the House of each page (pages).

In addition, the time to write is different, and the binary log file is recorded before the thing is committed, and the process of doing it, regardless of whether a redo log entry is written to the redo log.

Differences between binary and redo logs in MySQL database

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.