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

A coworker mentioned to me that she came in early every day so she could run a report that took about an hour and a half before the CEO got in.

I looked at the code, nothing looked THAT bad, so I did an EXPLAIN, noticed a missing index, added it. I ran the report in 4 minutes.

Clearly, whoever wrote that report didn't know nearly enough about SQL.



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

Search: