InnoDB engine redo file maintenance method

InnoDB engine redo file maintenance method

If you want to adjust the size and number of InnoDB redo log files, you can use the following steps:

1. Close mysql

mysqladmin -h127.0.0.1 -P3306 -uroot -p shutdown

2. Modify innodb_log_file_size and innodb_log_files_in_group in the configuration file

3. Start mysql

service mysqld start

According to the official documentation, MySQL will perform a checkpoint after completing the recovery operation, so delete all old log files and restart according to the new configuration file.

Generate redo files

The above InnoDB engine redo file maintenance method is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Sharing of the process of repairing the INNODB table damage in MySQL database
  • How to disable the InnoDB engine in MySQL
  • Summary of experience in master-slave replication synchronization of MySQL database InnoDB engine
  • Python locals() Pitfalls

<<:  Detailed description of nginx from compilation and installation to configuration file description in Chinese

>>:  Native js to implement form validation function

Recommend

Application and implementation of data cache mechanism for small programs

Mini Program Data Cache Related Knowledge Data ca...

Detailed explanation of how Node.js handles ES6 modules

Table of contents 1. Differences between the two ...

Common usage of regular expressions in Mysql

Common usage of Regexp in Mysql Fuzzy matching, c...

Learn asynchronous programming in nodejs in one article

Table of Contents Introduction Synchronous Asynch...

Mysql database master-slave separation example code

introduce Setting up read-write separation for th...

5 ways to determine whether an object is an empty object in JS

1. Convert the json object into a json string, an...

JavaScript uses setTimeout to achieve countdown effect

In order to enhance the ability to write JavaScri...

How to reference jQuery in a web page

It can be referenced through CDN (Content Delivery...

HTML table tag tutorial (31): cell width and height attributes WIDTH, HEIGHT

By default, the width and height of the cell are ...

Linux system MySQL8.0.19 quick installation and configuration tutorial diagram

Table of contents 1. Environment Introduction 2. ...

Specific use of MySQL binlog_ignore_db parameter

Preface: After studying the previous article, we ...

Comprehensive inventory of important log files in MySQL

Table of contents Introduction Log classification...

MySQL index coverage example analysis

This article describes MySQL index coverage with ...

Detailed explanation of XML syntax

1. Documentation Rules 1. Case sensitive. 2. The a...