Effective Queries with Rails and PostgreSQL
Link: Effective Queries with Rails and PostgreSQL: "Getting data into your database is easy, but querying large datasets is challenging—especially without the right indexes. Pavel Tkachenko teaches how to write performant SQL queries with EXPLAIN and ANALYZE."