Sie sind auf Seite 1von 1

Run the below query you can get the Data Base Size in MySQL.

If you run the query which is given below in MySQL Query Browser then you will g
et the two columns first will display the Data Base Name and the second will dis
play the Data Base Size in MB.

SELECT table_schema "Data Base Name", sum( data_length + index_length )/1024/102


4 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;

How to view the Free space available for my Data Base in MySQL
SELECT table_schema "Data Base Name", sum( data_length + index_length )/1024/102
4 "Data Base Size in MB", sum( data_free )/1024/1024 "Free Space in MB" FROM inf
ormation_schema.TABLES GROUP BY table_schema;

Das könnte Ihnen auch gefallen