Quantcast
Channel: Developer Feed - Tools
Viewing all articles
Browse latest Browse all 10

How to compute Mysql Schema size using Php?

$
0
0
Compute Mysql Table SizeBasically a database is a collection of tables.
So the size of the database is sum total of size of its individual tables.
Size of the table = Size of its Data + Size of its Indexes.
Size of database = Sum of {Individual Table Size}
The following script uses that above logic to compute the overall size of the database by computing the size of its individual tables. This can be used to understand why and where the database size is growing.

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles