Unable to change innodb_page_size to 32kb in Azure MySQL Flexible Server – clarification needed

Sai Krishna Atmuri 0 Reputation points
2025-05-13T07:22:00.59+00:00

Hello,

I'm currently using Azure Database for MySQL – Flexible Server and need clarification regarding the innodb_page_size configuration.

We have an application that requires innodb_page_size = 32KB for compatibility and performance reasons. However, in the Azure Portal under Server Parameters, this setting is not visible or editable.

I understand from MySQL documentation that innodb_page_size can only be set at initialization and not changed afterward. That’s acceptable — but I would like to confirm:

  1. Is it possible to set innodb_page_size = 32KB during the initial provisioning of a Flexible Server (e.g., through CLI, ARM templates, or hidden parameters)?
  2. If not supported, is it fixed to 16KB across all MySQL versions (5.7 / 8.0) in Flexible Server?
  3. Are there any plans or roadmaps to allow customization of this parameter in future releases of Azure Database for MySQL?
  4. Is self-hosting on Azure VM with a custom MySQL build the only way to achieve 32KB innodb_page_size on Azure?

Any clarification or official documentation reference would be appreciated.

Thanks in advance.

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
981 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2025-05-13T18:40:17.2866667+00:00

    Hi there Sai Krishna Atmuri

    Thanks for using QandA platform

    I guess you're correct innodb_page_size can only be set at MySQL server initialization and isn’t modifiable afterward. In Azure Database for MySQL – Flexible Server, this parameter is not exposed during provisioning via portal, CLI, or ARM templates. As of now, the default innodb_page_size is fixed at 16KB across both MySQL 5.7 and 8.0 in Flexible Server, and there's no support for customizing it during setup.

    Currently, if your app requires a 32KB page size for compatibility or tuning, the only viable option is to self-host MySQL on an Azure VM using a custom build where you can define --innodb-page-size=32K at initialization.

    If this helps kindly accept the answer thanks much.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.