Created
July 20, 2016 23:36
-
-
Save keyan/3b8835b65309607ff0d70e10a27235ae to your computer and use it in GitHub Desktop.
MySQL -- order all active queries by time
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 ORDER BY Time; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment