Thursday, December 20, 2007

Rails Plugins - Query Analyzer

The Query Analyzer plugin will expand the usability of your log files by providing query analysis using the MySQL query execution plan. Each SQL select query will be ‘EXPLAIN’ed and added to the log files right below the original query.

Installation

script/plugin install http://svn.nfectio.us/plugins/query_analyzer

Example Use

Refer to http://www.mysql.org/doc/refman/5.0/en/explain.html for more information on understanding the results.

http://www.rubyinside.com/columnized-text-datasets-in-rails-71.html http://habtm.com/articles/2006/06/10/pretty-tables-for-ruby-objects


No comments: