Created
July 8, 2015 15:46
-
-
Save OdinsHat/9c01e89e6a4d19b7e73d to your computer and use it in GitHub Desktop.
Find optimum innodb_buffer_pool_size in G for my.cnf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CEILING(Total_InnoDB_Bytes*1.6/POWER(1024,3)) RIBPS FROM | |
(SELECT SUM(data_length+index_length) Total_InnoDB_Bytes | |
FROM information_schema.tables WHERE engine='InnoDB') A; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment