• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

MySQL Database Size in Bytes? How does PHPMyAdmin do it?

Superwormy

Golden Member
How can I determine the physical size of a table in MySQL using PHP?

PHPMyAdmin goes it and even returns it in Bytes... how'd they do it?
 
You can get DB statistics using an SQL query SHOW TABLE STATUS FROM <dbname>. How did I find out? I checked the phpMyAdmin source code. Anyway, refer to the MySQL docs for detailed information.
 
Back
Top