All threads / ActiveRecord Explain (Example) - GoRails
Ask A Question

Notifications

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 66,257+ 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.

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

    © 2022 GoRails, LLC. All rights reserved.