Узнать размер БД средствами MySQL:
MariaDB [(none)]> SELECT table_schema "database_name", sum( data_length + index_length )/1048576 "Database size in MB" FROM information_schema. TABLES GROUP BY table_schema; +--------------------+---------------------+ | database_name | Database size in MB | +--------------------+---------------------+ | information_schema | 0.1250 | | mail | 0.1250 | | mysql | 0.6053 | | openfire | 0.2624 | | sveta | 0.0031 | +--------------------+---------------------+ 5 rows in set (0.24 sec)
Немає коментарів:
Дописати коментар