Created
December 8, 2018 23:46
-
-
Save Mexidense/ce9fb3818c158f6d44e8d7f27bc4f9d1 to your computer and use it in GitHub Desktop.
Data free
This file contains hidden or 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 table_name, | |
round(data_length/1024/1024) as data_length_mb, | |
round(data_free/1024/1024) as data_free_mb | |
from information_schema.tables | |
where round(data_free/1024/1024) > 5 | |
order by data_free_mb; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment