Created
July 1, 2014 12:54
-
-
Save OpenCoderX/1d9f055930959dba7a35 to your computer and use it in GitHub Desktop.
query to estimate buffer pool
This file contains hidden or 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.2/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