| Path: | vendor/plugins/pgexplain/README |
| Last Update: | Tue Dec 04 11:53:17 +0100 2007 |
| Authors: | Ramon Salvadó <rsalvado@gnuine.com> |
Any questions/comments can be addressed to Ramon Salvadó <rsalvado@gnuine.com>
This Rails plugin shows the output, in your application logs, of applying "Explain" or "Explain Analyze" to the select queries of your rails application. It should be used with a PostgreSQL database.
Needs to have the postgres gem installed:
sudo gem install postgres
To install the plugin:
script/plugin install svn://rubyforge.org/var/svn/pgexplain
Pg_explain::configure :color => false, :analyze = true
Pg_explain::disable
Pg_explain::enable