-(innodb_log_file_size)[https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_file_size] is the size in bytes of each (log file)[https://dev.mysql.com/doc/refman/8.0/en/glossary.html#glos_log_file] in a (log group)[https://dev.mysql.com/doc/refman/8.0/en/glossary.html#glos_log_group]. The combined size of log files ((innodb_log_file_size)[https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_file_size] * (innodb_log_files_in_group)[https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_files_in_group]) cannot exceed a maximum value that is slightly less than 512GB.). A bigger log file size is better for performance, but it has a drawback that the recovery time after a crash will be high. You need to balance recovery time in the rare event of a crash recovery versus maximizing throughput during peak operations. These can also result in longer restart times. You can configure this value up to any of these value 256MB,512MB,1GB or 2GB in Azure database for MySQL Flexible server. The Parameter is static and requires a restart.
0 commit comments