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

I was just going to make this comment.

Postgres as far as I know uses B-tree by default.

You can switch sort order I think for this as well, so "most recent" becomes more efficient.

Multi-column indexes also work, if you are just searching for first column postgres can still use multi-column index.



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

Search: