Daniel J. Bernstein updated cdb (Constant database) to go beyond 4GB
cdb: Intro cdb is a fast, reliable, simple package for creating and reading constant databases. The cdb database structure provides several features: Fast lookups: A successful lookup in a large database normally takes just two disk accesses. An unsuccessful lookup takes only one. Low overhead: A database uses 2048 bytes (or 4096 bytes for cdb64), plus 24 bytes per record (or 48 bytes per record for cdb64), plus the space for keys and data. No random limits: cdb handles any database up to 4 gigabytes (or up to an exabyte for cdb64). There are no other restrictions. Records are streamed and don’t have to fit into memory. Databases are stored in a machine-independent format (one format for cdb, one format for cdb64). Fast atomic database replacement: cdbmake rewrites an entire…