Reputation: 431
I want to dimension RAM dependent on the innodb_buffer_pool_size. But all what I find is the dependence of the innodb_buffer_pool_size on RAM.
Can you tell me on which parameters on the innodb_buffer_pool_size depends? Number of queries? Number of transactions?
I want to find out the formula which calculates the RAM dependent on innodb_buffer_pool_size.
Can you help me? Thank you very much for your advice!
Upvotes: 0
Views: 599
Reputation: 142518
Sizing innodb_buffer_pool_size
:
So, the simple formula "set it to 70% of available RAM".
There are various metrics in SHOW GLOBAL STATUS
that can say whether the buffer_pool is "big enough". But they are useful only after setting the size, then running for a while. And they only say "there are lots of reads/writes", they don't say whether or by how much to change the size.
If you would like me to analyze the STATUS (after it has been up at least a day), provide
SHOW VARIABLES;
SHOW GLOBAL STATUS;
I will check those formulas, plus a couple hundred others.
Upvotes: 2