Skip to content

Comment on Twitter's UID associated to each tweet will very soon exceed 2,147,483,647parent

Comments

That command will take several hours to complete and write lock the table.

Unless you use PostgreSQL.

But then you would have had 64 bit ID by default anyway.

Why can't you just redirect the writes to a new temporary table and join the original and temporary on reads? (I'm not a database admin)

I'm actually interested in this answer as well. I know of a company using a proprietary db and now that their growth has literally exploded, they're stuck with it.

I wonder what literally exploding growth looks like...

Nothing the fail whale can't fix ;-)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.