MySQL / MariaDB configuration optimization
The default MySQL configuration is a starting point, not the goal. We adjust key server parameters: innodb_buffer_pool_size (tailored to database size and available RAM), innodb_log_file_size, tmp_table_size, max_connections, thread_cache_size, join_buffer_size. We choose each parameter based on a workload analysis – we do not copy configurations from the internet. We detail memory calculations for MariaDB within the context of the entire stack in our publication Efficient LEMP stack architecture.


