Created
January 3, 2020 17:52
-
-
Save yardbirdsax/7bea4c1ffe2f7e70b7f8bf08c9ede56a to your computer and use it in GitHub Desktop.
Performance tuning MySQL queries
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
SET @@profiling = 0; | |
SET @@profiling_history_size = 0; | |
SET @@profiling_history_size = 100; | |
SET profiling = 1; | |
-- query here | |
SET profiling = 0; | |
SHOW profiles; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment