[EMAIL PROTECTED] (Markus Stumpf) writes:

> simply by having qmail-smtpd read in about 700 MB rcpthosts and
> qmail-remote read in a 300 KB smtproutes file on every incarnation.
> a cdb would do any good here, as the lookup would be faster, but a cdb
> is even bigger than the plain files.

When qmail-smtpd reads in rcpthosts, it reads it into a hashed
structure.

cdb files are also hashed, but the entire thing isn't read in. It
relies on the filesystem's cache to keep the hash tables and commonly
accessed records in memory.

^L


Reply via email to