I have a question regarding MySQL Server 8.0 Configuration. I don't know, if this question is maybe to broad. If so, please let me know, then I can delete it, but I would be happy about any comments, hints or links to my question.
I have a Windows Server 2022 with 32 GB RAM (I don't know, if it makes any difference if it is running on Windows or Linux). On this server is running a MySQL Server 8.0 Community installtion. Actually I did no special configuration to the MySQL Server. I realized, that actually only 16% of the RAM is being used by the system. As far as I know, it would be good to allocate as much as possible of the RAM to the MySQL Server to increase performance, stability etc.. The MySQL Server is running actually 2 databases. Actually the main database is a mix of MyISAM and InnoDB tables.
For InnoDB there is an option innodb_buffer_pool_size
. As far as I read, this option seems to be quite high to allocate the databases in the RAM.
I queried this value on the system with
SELECT @@innodb_buffer_pool_size;
The result of this query is currently: 134217728. As far as I know, this value is given in bytes, so the current config of @@innodb_buffer_pool_size is around 134 MB, which is not so much.
I'm asking me, if it is worth to increase this value i.e. to 16GB. But then I'm asking me, if I need to increase other innodb
options as well or if it would be OK, to increase just this value.
Actually I know the query language and stored procedures so on well, but I'm not a MySQL Server DB Admin. So I would be happy to get any helpful feedbacks on this issue.
Many thanks in advance.