Analyze the total space used on the DB instance (user-created databases) To find the size of each user-created database, run the following query: mysql> SELECT table_schema, ROUND(SUM(data_length+index_length)/1024/1024/1024,2) “size in GB” FROM information_schema.
