Skip to content

Commit d40740a

Browse files
committed
Server Parameters
1 parent f78be3f commit d40740a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

articles/mysql/flexible-server/concepts-server-parameters.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ MySQL stores the InnoDB table in different tablespaces based on the configuratio
6868

6969
Azure Database for MySQL Flexible Server supports at largest, **4 TB**, in a single data file. If your database size is larger than 4 TB, you should create the table in [innodb_file_per_table](https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_file_per_table) tablespace. If you have a single table size larger than 4 TB, you should use the partition table.
7070

71+
### innodb_log_file_size
72+
73+
(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.
74+
75+
> [!NOTE]
76+
> If you have changed the parameter innodb_log_file_size from default, please check if the value of "show global status like 'innodb_buffer_pool_pages_dirty'", stays at 0 for 30 sec ” to avoid restart delay.
77+
78+
79+
7180
### max_connections
7281

7382
The value of max_connection is determined by the memory size of the server.

articles/mysql/flexible-server/whats-new.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ This article summarizes new releases and features in Azure Database for MySQL -
4949

5050
Terraform support for MySQL Flexible Server is now released with the [latest v2.81.0 release of azurerm](https://github.com/hashicorp/terraform-provider-azurerm/blob/v2.81.0/CHANGELOG.md). The detailed reference document for provisioning and managing a MySQL Flexible Server using Terraform can be found [here](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mysql_flexible_server). Any bugs or known issues can be found or report [here](https://github.com/hashicorp/terraform-provider-azurerm/issues).
5151

52+
- **Static Parameter innodb_log_file_size is now Configurable**
53+
54+
[innodb_log_file_size](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_file_size) can be configured now to any of these value 256MB,512MB,1GB or 2GB. As this is a static parameter it will require a server restart.
55+
56+
If you have changed the parameter innodb_log_file_size from default, please check if the value of "show global status like 'innodb_buffer_pool_pages_dirty'", stays at 0 for 30 sec ” to avoid restart delay. [Learn More](./concepts-server-parameters.md)
57+
5258
- **Known Issues**
5359
- When a primary Azure region is down, one cannot create geo-redundant servers in it's geo-paired region as storage cannot be provisioned in the primary Azure region. One must wait for the primary region to be up to provision geo-redundant servers in the geo-paired region.
60+
- When you update a static parameter and restart the server, the server parameters pane will take time to refresh the changes and will show "You need to restart to apply the changes for the following parameters". If the server has been restarted post saving the changes to server parameters in the last 5-10 mins you can ignore this warning and no action is required.
5461

5562
## September 2021
5663

0 commit comments

Comments
 (0)