Db::getDatabaseSize

Usage

float Db::getDatabaseSize()

Description

Get the size of the database.

Return Value

The current size of the database in MB.

Examples

Get Database Size

db->getDatabaseSize();
echo "The database is currently using $size MB\n";