On Mon, Mar 17, 2014 at 02:30:32PM +0000, Craig R. Skinner wrote: > On 2014-03-17 Mon 14:08 PM |, Viktor Dukhovni wrote: > > > > > Do btree source files need to be sorted before postmapping? > > > > No, but time to insert millions of records may depend on the order > > of the keys. Do you plan to have enormous btree lookup tables? > > > > Not this year.... ~100, maybe eventually ~20k.
20k records may seem like a lot of entries, but it is comparatively a tiny Berkeley DB table. You've no reason to care about optimizing it. If you don't plan incremental updates, I'd like to suggest CDB, because the on-disk format and API are more stable, and it requires less memory. -- Viktor.