On Wed, Jul 28, 2010 at 06:06, Jonathan Nieder [off-list ref] wrote:
Sverre Rabbelier wrote:
quoted
Also, sqlite is known to scale, is exactly one file
worth of dependency, what's not to love (other than having to support
upgrading to 'index vSqlite').
The frequent fsync()-ing. Though that seems to be a problem with
pretty much anything that does not involve rewriting the index
with each change.
SQLite has an option to turn that off [1], but I don't know if it has
an equivalent feature to manually call fsync when you need that.
Anyway, I've been very impressed by SQLite in every way. I'd try it
before designing my own fileformat, especially something involving
binary/sequential search. It's not a large dependency, and can easily
be bundled in compat/.
1. http://www.sqlite.org/pragma.html#pragma_synchronous