Created
October 3, 2022 17:44
-
-
Save mattantonelli/3300486bf7976131863ea60c2d78d102 to your computer and use it in GitHub Desktop.
MariaDB performance tuning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
innodb_buffer_pool_size=1G # Default: 128M. Ideally, this is 80% of the available RAM | |
max_connections=301 # Default: 151. Increase for more concurrent connections if you have the resources. | |
query_cache_size=64M # Default: 0 | |
# Check configuration of custom variables above | |
show variables like 'innodb_buffer%'; | |
show variables like '%connections%'; | |
show variables like '%query_cache%'; | |
# Display query cache utilization | |
show status like 'Qcache%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment