Hacker News new | ask | show | jobs
by dholowiski 4430 days ago
While I don't disagree with the coolness of uuid, how exactly do you 'run out of integers' ?
3 comments

Here's a good example:

http://slashdot.org/story/06/11/09/1534204/slashdot-posting-...

Slashdot got over 16,777,216 comments overflowing a MySQL mediumint they were using for an index.

It's called transaction id wraparound, and you don't want to allow it to happen.

http://www.postgresql.org/docs/9.3/static/routine-vacuuming....

Fortunately the PostgreSQL has autovacuum so you probably don't need to worry about this.

Yeah, running out of a bigint in PostgreSQL would be hard since they are 63 bits + sign.