Save 36% for Black Friday! Learn more

All threads / ActiveRecord Explain (Example) - GoRails

Ask A Question


You’re not receiving notifications from this thread.

ActiveRecord Explain (Example) - GoRails

Chris Oliver asked in General
Sarah Abogabir ·

Awesome video!

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 ·

Awesome video!

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.