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

If you have a sharded DB, each instance can get its own range of ints, which are periodically refreshed.

PlanetScale uses int PKs [0], and they seem to have scaled just fine.

[0]: https://github.com/planetscale/discussion/discussions/366



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

Search: