Skip to content

Instantly share code, notes, and snippets.

@ergunozyurt
Created December 16, 2012 02:41
Show Gist options
  • Save ergunozyurt/4302635 to your computer and use it in GitHub Desktop.
Save ergunozyurt/4302635 to your computer and use it in GitHub Desktop.
shows fragmented tables at MySQL
select TABLE_NAME, TABLE_SCHEMA, Data_free from information_schema.TABLES where TABLE_SCHEMA NOT IN ('information_schema', 'mysql') and Data_Free >0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment