Re: CDB | size limitations | concurrency

[email protected] (Paul Jarc) Wed, 19 Oct 2005 10:19:09 -0400
Newsgroups gmane.comp.djb.cdb
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Matthew Berk <[email protected]> wrote:
>   1. Are there any limitations on CDB file size beyond those of the file system?
>
>     2. Are there any limitations on CDB data size (for value, not key)?

<URL: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.

>     3. Can we read from a CDB file while it's being created, by simply tie-ing to the temporary file?

No.  The hash table isn't written until after all the keys and
values.  But you can read from the old version of the cdb while a new
version is being written.


paul