The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

innodb_log_file_size

Discussion in 'Database Discussions' started by BillyS, Apr 24, 2017.

  1. BillyS

    BillyS Active Member

    Joined:
    Mar 22, 2013
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    According the MySQL:

    As of MySQL 5.6.8, the innodb_fast_shutdown setting is no longer relevant when changing the number or the size of InnoDB log files. Additionally, you are no longer required remove old log files, although you may still want to copy the old log files to a safe place, as a backup. To change the number or size of InnoDB log files, perform the following steps:
    1. Stop the MySQL server and make sure that it shuts down without errors.

    2. Edit my.cnf to change the log file configuration. To change the log file size, configure innodb_log_file_size. To increase the number of log files, configure innodb_log_files_in_group.

    3. Start the MySQL server again.
    If InnoDB detects that the innodb_log_file_size differs from the redo log file size, it writes a log checkpoint, closes and removes the old log files, creates new log files at the requested size, and opens the new log files.

    I'm running the latest stable version of MariaDB 10.0.30. Does the above apply to that series too? That is to say, I no longer have to backup and delete the existing log files when changing the log file size?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator

Share This Page