In MariaDB, we can query the information_schema.tables
table to check the size of a database.
This table returns information about the tables and views in each database on the server. We can group the results and return the aggregate amounts for each database.
Continue reading