Ask A Question


You’re not receiving notifications from this thread.

ActiveRecord Explain (Example) - GoRails

Chris Oliver asked in General
Sarah Abogabir Sarah Abogabir

Awesome video!


Useful! Thanks.

Ron Huppert Ron Huppert

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 Shawn Nigel Rebello

Awesome video!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 73,723+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.