News Feed
Jobs Feed
Sections




News Archive
Johannes Schlüter's Blog:
MySQL Query Analyzer and PHP
September 30, 2011 @ 12:56:54

Johannes Schlüter has a new post to his blog today mentioning the beta release of the mysqlnd_ms plugin (previously mentioned by Ulf Wendel and a new feature that can be plugged into the MySQL Enterprise Monitor to make the Query Analyzer directly use PHP instead.

When running a PHP-based application with MySQL it is often quite interesting to see what actually happens on the database sever. Besides monitoring of the system load etc. it is often interesting to see what queries are actually executed and which of them are expensive. A part of MySQL Enterprise Monitor is the MySQL Query Analyzer which helps answering these questions.

This was handled via a proxy that sat between the database and app server and ran through the queries looking for improvements. This new plugin keeps it closer to PHP itself without having to hit against the proxy. You can see the result in these two screenshots from inside the Manager application. You also have the side benefit of getting a stack trace of it running through the app to help you identify the spots most needing improvement in the code too.

0 comments voice your opinion now!
mysql query analyze mysqlndms plugin enterprise monitor


blog comments powered by Disqus

Similar Posts

Community News: MySQL AB Project officially supports PDO

NETTUTS.com: How to Build a Login System for a Simple Website

International PHP Magazine: Which one of the following is the Best Function for MySQL Data Fetching

PHPBuilder.com: Ajax Edit in Place Using Prototype

Ulf Wendel's Blog: PECL/mysqlnd_ms compared to a classic


Community Events











Don't see your event here?
Let us know!


release code object tool functional unittest language interview series testing conference zendframework2 example podcast framework development introduction community composer opinion

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework