Skip to main content

ActiveRecord Explain (Example) - GoRails

General • Asked by Chris Oliver

Awesome video!



I assumed my indexes were set up properly, but perhaps not. I come from a background where using multi column indexes where used extensively, but after doing some reading, PG apparently can decide to combine single column indexes on its own. If fact, PG might choose to use a sequence scan even if there is an index dependent upon the query.

I think I will be changing multi column indexes to single columns.


Shawn Nigel Rebello

Awesome video!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.