timmy/timmy_data/rq/scripts/mysql-size
Dmitry Sutyagin e493b44a4d Fix: wheel support
Change-Id: I6f5912d1fb0cdb583907ded078167cd877097c37
2016-09-21 17:01:10 +03:00

2 lines
172 B
Plaintext

mysql -e "SELECT table_schema \"DB Name\", Round(Sum(data_length + index_length) / 1024 / 1024, 1) \"DB Size in MB\" FROM information_schema.tables GROUP BY table_schema;"