Hi again, the above has helped me a lot on a high-traffic installation of HumHub!
i still have a couple of questions, though:
you don't change
innodb_buffer_pool_chunk_size, but you do change
innodb_buffer_pool_size and
innodb_buffer_pool_instances..
on my server, i have a total of 12GB RAM, and 8x CPU cores
so, i set some conservative numbers:
innodb_buffer_pool_size=4G
innodb_buffer_pool_instances=4
but i havent yet set
innodb_buffer_pool_chunk_size..
so, i was thinking of doing the following:
innodb_buffer_pool_size=6G
innodb_buffer_pool_instances=6
innodb_buffer_pool_chunk_size=512M
Because i have several websites on
What do you think?
Does that mean i'm basically only ever going to use a maximum of 3GB, because 512M x 6 = 3G?
Does the number of innodb_buffer_pool_instances have any relation to the number of CPU cores?
Finally, the tool linked in the beginning of the article, called
MySQLTuner-perl, calculates the maximum RAM MySQL/MariaDB will use as innodb_buffer_pool_size
multiplied by innodb_buffer_pool_instances, but that does not seem to be correct, right?
Sorry for all the questions, any advice would be greatly appreciated!!!