Re:Understanding N + 1 queries problem
by Izkata on Tuesday January 03, 2023 @09:44AM
(#34231925)
I swear that's what it was called when I was first introduced to it a decade ago. When I first saw one of the posts focused on it on here I didn't initially recognize it as referring to the same thing.
[ Parent
| on HN ]
Re:Understanding N + 1 queries problem
by kstrauser on Tuesday January 03, 2023 @01:32PM
(#34235676)
I don't remember how I heard it originally, but I wouldn't have recognized it as the same, either. To me, "N+1" implies you're already doing N queries and now you're running 1 more. That's a different class of problem than "you were running 1 query, and now you're running more than 1."