I have a small mariadb standalone server (RHEL9 x64), 8GB ram holding a (small) java app and a mariadb 11.4.5 database server (25GB data). If I run mysqltuner (2.7.0) it tells:
✔ InnoDB Buffer Pool size ( 3.9G ) under limit for 64 bits architecture: (17179869184.0G )
✘ InnoDB buffer pool / data size: 3.9G / 17.9G
...
✘ InnoDB Write Log efficiency: 81.81% (1183667 hits / 1446837 total)
...
General recommendations:
Restrict Host for 'signserver'@'%' to 'signserver'@LimitedIPRangeOrLocalhost
RENAME USER 'signserver'@'%' TO 'signserver'@LimitedIPRangeOrLocalhost;
MySQL was started within the last 24 hours: recommendations may be inaccurate
Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=ON
Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU
Variables to adjust:
skip-name-resolve=ON
innodb_buffer_pool_size (>= 17.9G) if possible.
innodb_log_buffer_size (> 16M)
Needing 18GB ram to host a 25GB db is a non-sense for me (wondering how much would be needed to host 1TB db). Can someone tell me why mysqltuner tells mariadb requires so much?
Is there a way to know how much mariadb really "needs" in innodb_buffer_pool_size?
Thanks.