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

The indexes advantages would be the same when you think of searching. But for inserting (and deleting) it is much faster if they are already orderded. You don't need (or well, the DB engine) to traverse any trees or anything. If they are 100% ordered, inserting new ones to that index would be just add something at the end of a list, much faster.


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

Search: