phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
523 core / general major always 2008-04-09 02:33 2008-04-09 02:33
Icehawg Apache  
Windows and RHEL  
normal XP and 7  
new 5.7.1 (stable)  
open  
none  
none  
130+ queries for empty table
Seems like extremely excessive querying going on. With an fresh, empty, table there is 131 queries to the database on the list view. 131! For an empty table. Adding one row(9 columns) to the database adds another 18 DB queries. Adding another adds another 18 queries. It seems to add !!2!! queries per field. Per FIELD! That seems like a substantial amount of resource-waste.
Create a table and log queries.
A query to retrieve the necessary data and another to grab the field types should be sufficient. Double querying for every single cell is not efficient.

There are no notes attached to this bug.