this post was submitted on 03 May 2025
6 points (100.0% liked)
MariaDB / MySQL
110 readers
2 users here now
Community for MariaDB/MySQL users
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, increasing the InnoDB buffer pool to use all available memory is the most important configuration change a sysadmin can do. But in order to do it, you need to know if the host is dedicated to one MariaDB instance or if there are multiple servers on the same host. Otherwise you would just have processes each hogging more memory when they can and not giving it up to others.
I could think about having a dialog during the installation that asks something like "Is host dedicated to this MariaDB instance? If yes, automatically configure it to use most of the system RAM available."
Not even a dialog, just a variable in my.cnf that enables it, like setting ibps manually. (And there are other buffers that maria might benefit from some extra growth if it knows it has space)