Database Optimization for Rails Apps(blog.nbwd.co.uk)
blog.nbwd.co.uk
Database Optimization for Rails Apps
http://blog.nbwd.co.uk/2007/11/20/database-optimization-for-rails-apps
The reporting application I'm working on does a date-range select against a table with ten million rows. It took over two minutes to execute. I cut it down to around two seconds without significantly changing the application. Here's how.
1 comments
[deleted]