The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD databases : cdb

A fast lookup database library & utilities

 cdb is a fast, reliable, lightweight package for creating and reading
constant databases. Its 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, plus 24 bytes per record,
  plus the space for keys and data.
* 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.
* Fast atomic database replacement: cdbmake can rewrite an entire
  database two orders of magnitude faster than other hashing packages.
* Fast database dumps: cdbdump prints the contents of a database in
  cdbmake-compatible format.

cdb is designed to be used in mission-critical applications like e-mail.
Database replacement is safe against system crashes. Readers don't have
to pause during a rewrite.

Note for developers:  packages that need to read cdb files should
incorporate the necessary portions of the cdb library rather than
relying on an external cdb library. (See WWW) 

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



cdb history


v. 1.19
date: 2006/02/21 07:55:35;  author: seanc;  state: Exp;  lines: +7 -5
Unbork for non-slave builds.

v. 1.18 date: 2006/02/21 07:29:43; author: seanc; state: Exp; lines: +4 -0 Update ruby-cdb to 0.5a and kill off patch now incorporated in upstream repo. Also fix on amd64 by compiling subport, cdb, with -fPIC. Given this is required for other amd64 ports that could potentially link against cdb, fix this in databases/cdb instead of just ruby-cdb.
v. 1.17 date: 2003/02/20 17:00:06; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.16 date: 2003/02/03 14:38:18; author: edwin; state: Exp; lines: +0 -1 Remove old install-statement Submitted by: Peter van Dijk
v. 1.15 date: 2003/02/03 14:16:50; author: edwin; state: Exp; lines: +0 -1 databases/cdb port forgets uint32.h Remove include/ and lib/ files from the package. Add note to pkg-descr about this behaviour. PR: ports/35364 Submitted by: Peter van Dijk
v. 1.14 date: 2002/11/10 16:45:21; author: lioux; state: Exp; lines: +0 -2 o Rollback PORTCOMMENT modifications while this feature's implementation is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)
v. 1.13 date: 2002/11/06 22:44:13; author: adamw; state: Exp; lines: +2 -0 Use PORTCOMMENT in the Makefile, and whack the pkg-comment. Approved by: pat
v. 1.12 date: 2002/01/29 09:44:59; author: knu; state: Exp; lines: +4 -4 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
v. 1.11 date: 2000/11/26 15:10:07; author: kevlo; state: Exp; lines: +8 -3 Support install macros. PR: 23072 Submitted by: Ports Fury
v. 1.10 date: 2000/04/08 22:48:18; author: mharo; state: Exp; lines: +3 -3 update with the new PORTNAME/PORTVERSION variables
v. 1.9 date: 2000/03/20 21:47:43; author: jedgar; state: Exp; lines: +17 -6 Update port to 0.75 PR: 17460 Submitted by: KATO Tsuguru
v. 1.8 date: 1999/11/20 22:09:14; author: cpiazza; state: Exp; lines: +2 -2 Update MASTER_SITES and WWW PR: 14949 Submitted by: Chris D. Faulhaber
v. 1.7 date: 1999/08/31 06:41:08; author: mharo; state: Exp; lines: +2 -2 FreeBSD.ORG -> FreeBSD.org Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
v. 1.6 date: 1999/08/25 05:21:05; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.5 date: 1999/04/14 00:02:37; author: scrappy; state: Exp; lines: +1 -3 Move WWW_SITE to pkg/DESCR:WWW from Makefile
v. 1.4 date: 1999/03/12 15:16:58; author: scrappy; state: Exp; lines: +3 -1 Add a few more Y2K/WWW_SITE pointers ...
v. 1.3 date: 1998/07/21 22:16:24; author: asami; state: Exp; lines: +3 -1 Define MAN? macros. I have no idea how packaging worked at all.
v. 1.2 date: 1998/07/21 08:26:35; author: gpalmer; state: Exp; lines: +1 -2 Remove NO_PACKAGE. I found the rather small copyright section
v. 1.1 date: 1998/07/19 02:37:30; author: gpalmer; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1998/07/19 02:37:30; author: gpalmer; state: Exp; lines: +0 -0 Import of CDB 0.55, a lightweight database package from D. J. Bernstein =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm