SQL Monitor

The plugin analyzes every query to the database. Warning: For PHP 5 only.

Author:Vladimir Kolesnikov (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:3.2.1
Plugin version:0.6.1.1
Added to WordPress repository:17-04-2009
Last updated:04-07-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://blog.sjinks.pro/wordpress-plugins/sqlm...
Total downloads:12 292
Active installs:10+
plugin download
Click to start download

Almost every developer knowns that the poor performance in many cases is due to poorly designed database or SQL queries
(for example, when the table does not have indices that the query can use or when the query uses unnecessary
performance killers such as ORDER BY/GROUP BY).

WordPress can provide only the list of the queries and the developer has to manually run every query and analyze it.
Very boring, isn’t it? SQLMon tries to help the developers and analyzes the query itself, reporting everything that needs attention.

Every query passed to WordPress is analyzed (using EXPLAIN) and the results are shown in the theme’s footer or Admin panel’s footer
(they are visible to site administrators only — this allows to use SQLMon even on live sites).

One of the key features of SQLMon is that it can run EXPLAIN not only on SELECT queries but also on UPDATE/DELETE and INSERT/REPLACE INTO … AS or
CREATE TABLE … AS.

The plugin is perfect for WordPress developers, plugin and theme authors and site administrators who are trying to find out why the blog is too slow.

IMPORTANT: the project has moved to Launchpad, please use it to report all bugs, suggest improvements,
request features and get the latest development version.

Warning

This plugins requires that PHP 5 be installed.
No support for ancient PHP 4, sorry.

Incompatibilities

SQLMon is incompatible with plugins that install their own db.php into wp-content directory (DB Cache, DB Cache Reloaded, probably W3 Total Cache).

Removal

If you want to remove the plugin completely, please deactivate it first and make sure that wp-content/db.php is deleted (if not, please delete it yourself).

Recommended Reading

Optimizing Queries with EXPLAIN

Bug Reports

Please use Launchpad to report any bugs.


Screenshots
FAQ
ChangeLog