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

This largely depends on the RDBMS. When generating estimates for memory grants, Sql Server will look at the row size as well expected counts. I’ve had particularly bad ORM queries throw together products of joined tables with all possible columns in the projection. Between the insane memory grant request and the IO throughput for retrieval, you’d be surprised at how much SELECT * can affect query performance


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

Search: