Skip to content

Instantly share code, notes, and snippets.

@keyan
Created July 20, 2016 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyan/3b8835b65309607ff0d70e10a27235ae to your computer and use it in GitHub Desktop.
Save keyan/3b8835b65309607ff0d70e10a27235ae to your computer and use it in GitHub Desktop.
MySQL -- order all active queries by time
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