Last active
August 29, 2015 14:25
-
-
Save nawawi/41138bd44cab56d5a581 to your computer and use it in GitHub Desktop.
sql syntax calculate size satu database
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
| -- sql syntax calculate size satu database dalam byte | |
| -- replace namadabase kepada real database name | |
| SELECT sum( data_length + index_length ) as size FROM information_schema.TABLES where table_schema = 'namadatabase' GROUP BY table_schema |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment