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

Understanding explain output is usually very simple. 1 Look for any occurrence of “table scan”. 2. Add index on those queried fields or limit the query by filtering on another already indexed field.

This should unclog the most low hanging fruit. Then there is of course more advanced scenarios, especially with joins.

That’s not to say that the UX for explaining (hah) this doesn’t have a lot of room for improvement.



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

Search: