InnoDB automatically configures the
following options according to the amount of memory detected on
Table 15.5 Automatically Configured Buffer Pool Size
Detected Server Memory Buffer Pool Size < 1G 128MiB (the
<= 4G Detected server memory * 0.5 > 4G Detected server memory * 0.75
Table 15.6 Automatically Configured Log File Size
Detected Server Memory Log File Size < 1GB 48MiB (the
<= 4GB 128MiB <= 8GB 512MiB <= 16GB 1024MiB > 16GB 2048MiB
Only consider enabling this option if your MySQL instance runs on a dedicated server where the MySQL server is able to consume all available system resources. Enabling this option is not recommended if your MySQL instance shares system resources with other applications.
If an automatically configured option is configured explicitly in
an option file or elsewhere, the explicitly specified setting is
used and a startup warning similar to this is printed to
[Warning]  InnoDB: Option innodb_dedicated_server is ignored for innodb_buffer_pool_size because innodb_buffer_pool_size=134217728 is specified explicitly.
Explicit configuration of one option does not prevent the
automatic configuration of other options. For example, if
configured explicitly in an option file,
innodb_flush_method are still
subject to automatic configuration.
Automatically configured settings are reevaluated according to the amount of detected server memory each time the MySQL server is started. If the amount of detected server memory changes, the automatically configured settings are adjusted accordingly.