Richard G
Verified User
I ran mysql tuner and amongst a few other things I got this:
And the advise was the following:
Shout this mean I should lower the key_buffer_size? I had a look in mariadb 10.6 with this command:
and the result was:
Seems this is the new default on MariaDB.
So am I correct that this would mean MariaDB is using 134 M and this is way too much? I better use something like 64M or what should I do?
Code:
-------- MyISAM Metrics ---------------------------------------
[!!] Key buffer used: 29.7% (38.0M used / 128.0M cache)
[OK] Key buffer size / total MyISAM indexes: 128.0M/113.2M
[OK] Read Key buffer hit rate: 99.3% (1M cached / 14K reads)
[!!] Write Key buffer hit rate: 59.3% (142K cached / 84K writes)
And the advise was the following:
key_buffer_size (~ 39M)
Shout this mean I should lower the key_buffer_size? I had a look in mariadb 10.6 with this command:
SHOW GLOBAL VARIABLES LIKE 'key_buffer_size';
and the result was:
| key_buffer_size | 134217728 |
Seems this is the new default on MariaDB.
So am I correct that this would mean MariaDB is using 134 M and this is way too much? I better use something like 64M or what should I do?