The difference between MySQL Binlog and redo log

Source: Internet
Author: User

Binlog and redo Log differences


1, the first 2 are recorded data changes, the difference is that Binlog is to record all the data change information, and InnoDB redo log only records all InnoDB table data changes.

2. Binlog is a DML and DDL SQL statement after the record has been committed, while InnoDB redo log is the DML in progress and the DDL statement

3, Binlog can be used as recovery data using redo log can be used as abnormal down or media failure after the data recovery use

4, in the DB file directory, also belong to the log file is not through.


This article is from the "Crazy_sir" blog, make sure to keep this source http://douya.blog.51cto.com/6173221/1651286

The difference between MySQL Binlog and redo log

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.