Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sagarm
5 days ago
|
parent
|
context
|
favorite
| on:
Avoid UUID Version 4 Primary Keys in Postgres
Most common database indexes are ordered, so if you are using UUIDv4 you will not only bloat the index you will also have poor locality. If you try to use composite keys to fix locality, you'll end up with an even more bloated index.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: