Created
March 4, 2014 13:35
-
-
Save jineshpaloor/9346603 to your computer and use it in GitHub Desktop.
query to find the queries which is taking long time to process.
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 * FROM INFORMATION_SCHEMA.PROCESSLIST where COMMAND = "query" and Time > 1 order by time asc;SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST where COMMAND = "query" and Time > 1 order by time asc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment