The sqlite implementation is more or less as fast (or slow, depending on how you see it) as the LevelDB one, but it is slightly simpler...