[Phpmyadmin-devel] Table statistics for a newly created table?

Ninad Pundalik ninadsp16289 at gmail.com
Tue Jul 13 22:35:58 CEST 2010


Hi,

For the last few hours, I've been working on appending a newly created
table's details to the list of tables we see on db_structure.php.  I
have been able to generate most of the HTML necessary for this in
tbl_create.php, but I have not understood how the table size and
overhead are calculated.  Even though it's a new table and has zero
rows, it would occupy some space, and it should not have any overhead.

I tried understanding the code in db_structure.php that generates the
HTML, but I'm
slightly lost.  Pointers anyone?

I've pushed my changes in commit 10a9e69, so everyone can see the
stage I am at.  At the moment, I'm filling in a dummy value for the
size column, and leaving overhead as '-'.

-- 
Ninad S. Pundalik




More information about the Developers mailing list