As of MySQL 9.3.0, if installed in a container, the server automatically reads the container's CPU and memory resource limits. The values for the following system variables are calculated and set based on those resource limits:
The values of the following are calculated based on the number of logical CPUs:
The values of the following are calculated based on the available memory:
innodb_buffer_pool_size
(value set only if--innodb-dedicated-server
is enabled.)