Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Less queries isn't always better. Sometimes a couple small fast (easily optimized by the DB server) queries are faster than a join (which could block several tables at once instead of just one).


This is true; you have to decide when that is. Of course, multiple queries across tables can be placed into a view and queried at once.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: