how to check database size in mysql1 min read
Hi Techrunnr Readers, this document deals with how to check database size in mysql.
MySQL is an open-source relational database management system. Its name is a combination of “My”, the name of co-founder Michael Widenius’s daughter, and “SQL”, the abbreviation for Structured Query Language.
It’s very biggest headache for database administrators/sysadmin to check the database size. Here is the solution for that. Perform the following steps to get size if of databases in Mysql or MariaDB.
1. Login to mysql
2. Execure the following query to get the size.
Here is the expected output for the above query.
You can alter the above query to get size in GB etc.
Have good learning