Re: CDB | size limitations | concurrency
Charles Cazabon <[email protected]> Wed, 19 Oct 2005 08:17:30 -0600
| Newsgroups | gmane.comp.djb.cdb |
|---|---|
| Message-ID | <[email protected]> |
Matthew Berk <[email protected]> wrote: > 1. Are there any limitations on CDB file size beyond those of the file > system? From cr.yp.to/cdb.html: No random limits: cdb can handle any database up to 4 gigabytes. [...] > 2. Are there any limitations on CDB data size (for value, not key)? [...] There are no other restrictions; records don't even have to fit into memory. > 3. Can we read from a CDB file while it's being created, by simply > tie-ing to the temporary file? No. You read from the existing file until the new one is finished writing, and then the existing file is atomically replaced by the new one. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[email protected]> GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------