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

They’re common issues with any SQL RDBMS, period. Don’t UPDATE the PK if you don’t need to, don’t paginate with OFFSET, batch your INSERTs. The other shown problem (multiple JOINs with GROUP BY having a relatively high ratio of rows read to rows sent) is more a lack of understanding relational schema and query execution than anything, and could have been solved with CTEs instead of multiple queries.


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

Search: