Created
September 21, 2018 18:10
-
-
Save krabello/95e74b020156d4bdc61f46b72332cd4f to your computer and use it in GitHub Desktop.
RIBPS, Recommended InnoDB Buffer Pool Size based on all InnoDB Data and Indexes with an additional 60%
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