maximum database size of mysql database

Answer Posted / pandu

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 get the two columns first will display
the Data Base Name and the second will display the Data Base
Size in MB.

SELECT table_schema "Data Base Name", sum( data_length +
index_length ) / 1024 / 1024 "Data Base Size in MB"
FROM information_schema.TABLES GROUP BY table_schema ;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is mysql port 3306 tcp or udp?

506


Hi Team, This is kartik, I recently completed my B-tech. Importance of posting this question is for to know the best books on SQL(MYSQL/Oracle)? I like SQL concept's so much, at the same time i decided to choose SQL for my career purpose. So please suggest me the best books that are very helpful for a fresher to improve concepts like (SQL/PLSQL)Basics, programming concepts, architectures etc. Please consider my request as an important one. I am very thankful to you for providing this opportunity. If possible can you please send the names of books for my personal id also: karthikgdv1206@yahoo.com. Thanks, Kartik T

1735


Write a query to count the number of rows of a table in mysql.

474


What are procedures in mysql? Explain

521


What is int unsigned?

491






How to see the create table statement of an existing table?

571


What is the data source name for mysql?

473


How to use case expression?

524


Explain timestamp?

580


How does mysql store binary data?

503


What is mysql cursor?

498


Give string types available for column?

550


what is constraints?

621


What is a tinyint in mysql?

478


How to control the max size of a heap table?

548