tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RFC: Constant Database Support



On Sat, Mar 20, 2010 at 08:19:39AM -0700, Matt Thomas wrote:
> Any reason you didn't consider implementing CBR as a backend for the db in 
> libc?  

The dbopen(3) API can be provided on top of CDB, but it doesn't fit too
well with many of use cases e.g. in libc. The services(5) database is a
good example. There are multiple keys for entry and the db
implementation essentially emulated this by using an aritifical key for
the main entry and doing a double lookup for all keys. As the keys are
part of the data, the overall disk space usage is essentially doubled.

Joerg


Home | Main Index | Thread Index | Old Index