Rails database optimization

Rails database optimization

Here are the English slides about how to optimize database queries in Ruby On Rails.

Topic is the optimization of the communication between ActiveRecord and a classic relational database like MySQL or PostgeSQL. I show a range of techniques, like reducing the data with select and pluck, reducing database queries with join, or using hand-crafted SQL to update objects in the database itself without ever been loaded in rails.

I have showed this presentation at the Ruby User Group Hamburg at the 8th August 2012.


Karsten Meier

August 08, 2012