Wouldn't a database generally be offline when you ALTER it? At least one that is used in scenarios where SQLITE is appropriate.
In that case it should not hurt too much if the operation takes some time.
In that case it should not hurt too much if the operation takes some time.
When you look at this operation on a normal database, it isn't too bad. The database can change the on-disk representation while still serving requests, and it can use whatever storage it wants, since it's the only one that operates on the data.