If you need to determine how much data a MySQL database is consuming, use the information_schema database and run the following command:
mysql> use information_schema; mysql> select table_schema, sum(data_length)/1024/1024 from tables group by table_schema; +----------------------------+-----------------------------------------+ | table_schema | sum(data_length)/1024/1024 | +----------------------------+-----------------------------------------+ | information_schema | 0.00000000 | | mysql | 0.41797256 | | uptime | 4031.60937500 | +----------------------------+-----------------------------------------+ 3 rows in set (1.04 sec) In the example above, up.time is using ~ 4.03 GB. Note that this does not necessarily mean that the MySQL database file is 4.03 GB as it is generally much larger. |
How to monitor MySQL Databases with up.time | Rating | Views | |
---|---|---|---|
Find out how to use up.time to effectively monitor your MySQL servers and database structures. By: uptime Support | Date Created: 5-17-2007 | Last Modified: 6-28-2011 | Index: 176 |
11380 |
Shrinking your MySQL DataStore | Rating | Views | |
---|---|---|---|
At times it may be necessary to reduce the disk space that your MySQL DataStore consumes on your monitoring station. The process of reducing your DataStore size follows the general steps that are... By: uptime Support | Date Created: 7-31-2006 | Last Modified: 2-19-2014 | Index: 088 |
11558 |
Securing the up.time MySQL Database | Rating | Views | |
---|---|---|---|
By: uptime Support | Date Created: 3-3-2006 | Last Modified: 7-28-2011 | Index: 058 |
4333 |
Default MySQL Database Users and Permissions | Rating | Views | |
---|---|---|---|
This article outlines the MySQL database users that are installed with up.time and their permissions By: uptime Support | Date Created: 7-6-2007 | Last Modified: 6-28-2011 | Index: 211 |
3777 |
Migrating Your DataStore To a New Database | Rating | Views | |
---|---|---|---|
This article outlines how to move your DataStore between different database types. By: uptime Support | Date Created: 2-21-2007 | Last Modified: 6-30-2011 | Index: 142 |
4780 |