With release 2.7.0 the popular database web front-end phpMyAdmin starts
to adopt more and more of the new features of MySQL 5.0. But
there are still some hurdles on the way. If you use
VIEW
s on huge tables, phpMyAdmin can for example
easily lock up your database.
The problem is, that phpMyAdmin tries to get an exact row count
for MySQL VIEW
s in many places. It achieves this by
executing a SELECT COUNT(*) FROM view_name
against
the VIEW
. This happens for example on the database
overview page (that shows up by default whenever you select a
database from the menu) or even for the list of tables in the
left frame. Other database administration tools that use a
similar strategy as phpMyAdmin could also be affected.
The disastrous consequences of the row count
This is of course a very dangerous feature for complex …
[Read more]