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

Uhm, MySQL indexes efficiently sort in both directions. You can use a composite index to achieve an ordered set with a set of while conditions, even with millions of rows. As long as the app is only fetching like 10 rows, it should be lightning fast.


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

Search: