Jika Anda ingin mengetahui ukuran database saat ini, Anda dapat mencoba ini:
SELECT table_schema "Database Name"
, SUM(data_length + index_length) / (1024 * 1024) "Database Size in MB"
FROM information_schema.TABLES
GROUP BY table_schema
Jika Anda ingin mengetahui ukuran database saat ini, Anda dapat mencoba ini:
SELECT table_schema "Database Name"
, SUM(data_length + index_length) / (1024 * 1024) "Database Size in MB"
FROM information_schema.TABLES
GROUP BY table_schema