News for hackers. Stuff that matters.
Re:Things I wished more developers knew about databases by pjscott on Wednesday April 22, 2020 @05:45PM (#22950520)
The thing that really worries me when I'm writing SQL is the possibility that the query planner will get frisky and choose some disastrously slow join order, but only once in a while. I've run into way too many hard-to-reproduce performance issues like this.

Having the database automatically figure out how to run a query is a great feature, but most of the time I'd happily just write explicit nested loops for the sake of predictability.

Re:Things I wished more developers knew about databases by gwbas1c on Sunday April 26, 2020 @10:38PM (#22992381)
(I could be wrong,) but I thought one of the points of stored procedures was that the query plan is precompiled?