backtrace-labs/verneuil

Let snapshots start with partial data

pkhuong opened this issue · 0 comments

For large databases, fully loading all the chunks in a snapshot can be useless, and is always slow. Sqlite page allocation tends to put root btree pages at the beginning of the file, so we could want to load only the first few chunks in a snapshot, and the rest on demand.