News for hackers. Stuff that matters.
Re:For Want of a JOIN by 411111111111111 on Thursday December 22, 2022 @12:58PM (#34096284)
ok, now i cant resist

> This article speaks to me. So many times I have needed to go back and fix queries that were naively written this way like it was some kind of "optimization"

in some cases, doing joins in the application is more performant then making the database do it. Its usually better to do it by join, but depending on the data you're joining you might incur significant slowdowns. Its always better to start with the join and only evaluate the application join if there is a need to improve the performance however. Nonetheless, a sweeping statement like yours doesn't help either.

Re:For Want of a JOIN by rubyist5eva on Thursday December 22, 2022 @03:29PM (#34098225)
Read my comment again, I said in the vast majority of cases, not "all".