databases/tinycdb 0.78 NetBSD
Create and read constant databases
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- public-domain
- Categories
- databases
- Package size
- 29.0 KiB, 140.6 KiB installed
Description
TinyCDB is a very fast and simple package for creating and reading constant data bases, a data structure introduced by Dan J. Bernstein in his cdb package. It may be used to speed up searches in a sequence of (key,value) pairs with very big number of records. Example usage is indexing a big list of users - where a search will require linear reading of a large /etc/passwd file, and for many other tasks. It's usage/API is similar to ones found in BerkeleyDB, gdbm and traditional *nix dbm/ndbm libraries, and is compatible in great extent to cdb-0.75 package by Dan Bernstein.
CDB is a constant database, that is, it cannot be updated at a runtime, only rebuilt. Rebuilding is atomic operation and is very fast - much faster than of many other similar packages. Once created, CDB may be queried, and a query takes very little time to complete.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | databases/tinycdb | 0.78 |
| FreeBSD | databases/tinycdb | 0.81 |
| OpenBSD | databases/tinycdb | 0.78 |
| DragonFly | databases/tinycdb | 0.81 |
| MidnightBSD | databases/tinycdb | 0.81 |
Install
Binary package:
pkgin install tinycdb
From pkgsrc:
cd /usr/pkgsrc/databases/tinycdb && make install clean