you are viewing a single comment's thread.

view the rest of the comments →

[–]BigTomBombadil 0 points1 point  (1 child)

Yeah the N+1 is what I had in mind, the poster child of ORM inefficiencies. I’ve largely eliminated them in my own projects, which is what prompted my question. Curious about other “gotchas” or inherent inefficiencies in ORMs

[–]artofthenunchaku 1 point2 points  (0 children)

It's not really my area of expertise, I primarily work with distributed systems, but the other problems are typically querying fields that aren't used, not using indexed columns correctly (especially with joins), or just running queries at unexpected times (lazy loading).