News for hackers. Stuff that matters.
Re:The Design Of SQLite4 by keeperofdakeys on Sunday May 25, 2014 @09:29PM (#7798296)
The problem is that it's hard to support for a database like sqlite. Things have a very specific on-disk representation, so you can't just add data to the middle of a file; rewriting the file also means others can't read it at the same time, so you can't do long operations.

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.

Re:The Design Of SQLite4 by nikbackm on Monday May 26, 2014 @03:14AM (#7798985)
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.