kieranbarnes Independent PHP, WordPress & CubeCart Programmer

SQLyog Query Profiler

Posted on February 10, 2009

MySQL has always lacked the sophisticated profiling tools shipped with proprietary databases like SQL Server, etc. MySQL developers have largely depended on EXPLAIN for tuning queries. The SHOW PROFILE patch by Jeremy Cole was introduced in the MySQL Community version 5.0.37 and it provided much more insight into where the query spends its time. However, to take advantage of this feature, MySQL developers were supposed to switch on profiling, run their queries and then filter the profiling data from a table that contained the profiling results of the last few profiled queries. A lot of manual book-keeping is required to take advantage of this powerful feature. In an ideal situation, the MySQL developer should execute the queries and the profiling info should be available along with the result-set. Unfortunately, none of the MySQL client tools (desktop or web-based) provide intrinsic support for this feature.

Watch the Screencast on Query Profiler.

I♥MySQL


Related posts

  1. MySQL Tuning Server Parameters
    These are some of the handy MySQL 5.0 tweaks I do to get the most...
  2. cPanel MySQL Tuning
    The default configuration for MySQL provided by cPanel is pretty barren. /etc/my.cnf Thats it. One...
  3. Can’t install the Office Genuine Advantage Notifications (KB949810) update?
    Do you get "Installation Failure: Windows failed to install the following update with error 0x80070643:...
  4. MySQL: Can’t get hostname for your address
    Can''t remotely login to your shiney, new MySQL server due “Can’t get hostname for your...
  5. Installing mytop on cpanel
    MyTop is one of the best MySQL monitoring tools available, written by a MySQL guru,...

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.