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

Summary of common Mysql DDL operations

Library Management Create a library create databa...

Docker starts MySQL configuration implementation process

Table of contents Actual combat process Let's...

Summary of 4 ways to add users to groups in Linux

Preface Linux groups are organizational units use...

Docker data storage tmpfs mounts detailed explanation

Before reading this article, I hope you have a ba...

Use image to submit the form instead of using button to submit the form

Copy code The code is as follows: <form method...

WeChat applet development practical skills: data transmission and storage

Combining the various problems I encountered in m...

How to modify the initial password of MySQL on MAC

Problem description: I bought a Mac and installed...

Tutorial on installing Ceph distributed storage with yum under Centos7

Table of contents Preface Configure yum source, e...

How to install docker on Linux system and log in to docker container through ssh

Note: I use Centos to install docker Step 1: Inst...

HTTP and HTTP Collaboration Web Server Access Flow Diagram

A web server can build multiple web sites with in...

mysql 5.7.11 winx64.zip installation and configuration method graphic tutorial

Install and configure the MySql database system. ...

Node uses async_hooks module for request tracking

The async_hooks module is an experimental API off...

Detailed explanation of the problem of CSS class names

The following CSS class names starting with a num...