logoalt Hacker News

devmoryesterday at 4:32 PM1 replyview on HN

Try doing that on a “real” DB with hundreds of millions of rows too. Anything more than adding a column is a massive risk, especially once you’ve started sharding.


Replies

pdhborgesyesterday at 5:07 PM

Yes it might be risky. But most schema evolution changes can be done with no or minimal downtime even if you have to do then in multiple steps. When is a simple ALTER going to be totally unacetable if youare using Sqlite?