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

Re: ot: djbdns/daemontools



> The data.cdb file should be cached by the os, so you should have
> enough memory to do so

no.  cdb was designed so you don't have to have enough memory to
hold the records.

http://cr.yp.to/cdb.html

   "No random limits: cdb can handle any database up to 4 gigabytes.
   There are no other restrictions; records don't even have to fit
   into memory. Databases are stored in a machine-independent
   format."

sure it'll be faster if it's in memory.  but it doesn't have to be.