Skip to content

Instantly share code, notes, and snippets.

@elfeffe
Created April 8, 2016 11:09
Show Gist options
  • Save elfeffe/5846a111b8c22797fccf18dd6001aaa1 to your computer and use it in GitHub Desktop.
Save elfeffe/5846a111b8c22797fccf18dd6001aaa1 to your computer and use it in GitHub Desktop.
SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE';
show global status like '%Threads_connected%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment