SELECT table_schema, sum(data_length+index_length)/1024/1024/1024 "Gigs" FROM information_schema.tables GROUP BY table_schema;