0

How to check mysql db size

Can you please tell me how to check MySQL DB size

stewart
asked Aug 28, 2018
edited
1 Answer
1

MySQL uses the information_schema virtual database to store information about your databases and other settings. You can query it to gather information about size of databases and tables as shown:

#mysql -u root -p
MariaDB [(none)]> SELECT table_schema AS "Database Name",
FROM information_schema.tables 
GROUP BY table_schema;
View More
linuxhelp
answered Jan 29, 2019
Your Answer
||||
 
100:0