encyclopegia.org

DBM (computing)

In computing, a DBM is a library and file format providing fast, single-keyed access to data. A key-value database from the original Unix, dbm is an early example of a NoSQL system.

In computing, a DBM is a library and file format providing fast, single-keyed access to data. A key-value database from the original Unix, dbm is an early example of a NoSQL system. ==History== The original dbm library and file format was a simple database engine, originally written by Ken Thompson and released by AT&T in 1979. The name is a three-letter acronym for DataBase Manager, and can also refer to the family of database engines with APIs and features derived from the original dbm. The dbm library stores arbitrary data by use of a single key (a primary key) in fixed-size buckets and uses hashing techniques to enable fast retrieval of the data by key. The hashing scheme used is a form of extendible hashing, so that the hashing scheme expands as new buckets are added to the database, meaning that, when nearly empty, the database starts with one bucket, which is then split when it becomes full. The two resulting child buckets will themselves split when they become full, so the database grows as keys are added. The dbm library and its derivatives are pre-relational databases they manage associative arrays, implemented as on-disk hash tables. In practice, they can offer a more practical solution for high-speed storage accessed by key, as they do not require the overhead of connecting and preparing queries. This is balanced by the fact that they can generally only be opened for writing by a single process at a time. An agent daemon can handle requests from multiple processes, but introduces IPC overhead. ==Bibliography== SDBM library @Apache

References

  1. a b Hazel 2001 , p. 500: "The most common [single-key] format is called DBM. Most modern versions of Unix have a DBM library installed as standard, though this is not true of some older systems. The two most common DBM libraries are ndbm (standard on Solaris and IRIX) and Berkeley DB Version 2 or 3 (standard on several free operating systems). Exim supports both of these, as well as the older Berkeley DB Version 1, gdbm , and tdb ." Wikipedia revision 1376028951, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "a b Hazel 2001 , p. 500: "The most common [single-key] format is called DBM. Most modern versions of Unix have a DBM library installed as standard, though this is not true of some older systems. The two most common DBM libraries are ndbm (standard on Solaris and IRIX) and Berkeley DB Version 2 or 3 (standard on several free operating systems). Exim supports both of these, as well as the older Berkeley DB Version 1, gdbm , and tdb ." Wikipedia revision 1376028951, retrieved 2026-11-18." a b Hazel 2001 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1376028951. Accessed 24 November 2026.

    Chicago "a b Hazel 2001 , p. 500: "The most common [single-key] format is called DBM. Most modern versions of Unix have a DBM library installed as standard, though this is not true of some older systems. The two most common DBM libraries are ndbm (standard on Solaris and IRIX) and Berkeley DB Version 2 or 3 (standard on several free operating systems). Exim supports both of these, as well as the older Berkeley DB Version 1, gdbm , and tdb ." Wikipedia revision 1376028951, retrieved 2026-11-18." a b Hazel 2001 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1376028951.

    APA a b Hazel 2001 , p. (2026). a b Hazel 2001 , p. 500: "The most common [single-key] format is called DBM. Most modern versions of Unix have a DBM library installed as standard, though this is not true of some older systems. The two most common DBM libraries are ndbm (standard on Solaris and IRIX) and Berkeley DB Version 2 or 3 (standard on several free operating systems). Exim supports both of these, as well as the older Berkeley DB Version 1, gdbm , and tdb ." Wikipedia revision 1376028951, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376028951

  2. a b Ladd & O'Donnell 2001 , pp. 823–824: "Most UNIX systems have some kind of DBM database. DBM is a set of library routines that manages data files consisting of key and value pairs. The DBM routines control how users enter and retrieve information from the database. Although it isn't the most powerful mechanism for storing information, using DBM is a faster method of retrieving information than using a flat file. Because most UNIX sites use one of the DBM libraries, the tools you need to store your information in a DBM database are readily available. Almost as many flavors of the DBM libraries exist as there are UNIX systems. Although most of these libraries are compatible with each other, they all basically work the same way... A list follows of some of the most popular DBM libraries available: DBM - DBM stores the database in two files. The first has the extension .Pag and contains the bitmap. The second, which has the extension .Dir , contains the data. Wikipedia revision 1376028951, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "a b Ladd & O'Donnell 2001 , pp. 823–824: "Most UNIX systems have some kind of DBM database. DBM is a set of library routines that manages data files consisting of key and value pairs. The DBM routines control how users enter and retrieve information from the database. Although it isn't the most powerful mechanism for storing information, using DBM is a faster method of retrieving information than using a flat file. Because most UNIX sites use one of the DBM libraries, the tools you need to store your information in a DBM database are readily available. Almost as many flavors of the DBM libraries exist as there are UNIX systems. Although most of these libraries are compatible with each other, they all basically work the same way... A list follows of some of the most popular DBM libraries available: DBM - DBM stores the database in two files. The first has the extension .Pag and contains the bitmap. The second, which has the extension .Dir , contains the data. Wikipedia revision 1376028951, retrieved 2026-11-18." a b Ladd & O'Donnell 2001 , pp. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1376028951. Accessed 24 November 2026.

    Chicago "a b Ladd & O'Donnell 2001 , pp. 823–824: "Most UNIX systems have some kind of DBM database. DBM is a set of library routines that manages data files consisting of key and value pairs. The DBM routines control how users enter and retrieve information from the database. Although it isn't the most powerful mechanism for storing information, using DBM is a faster method of retrieving information than using a flat file. Because most UNIX sites use one of the DBM libraries, the tools you need to store your information in a DBM database are readily available. Almost as many flavors of the DBM libraries exist as there are UNIX systems. Although most of these libraries are compatible with each other, they all basically work the same way... A list follows of some of the most popular DBM libraries available: DBM - DBM stores the database in two files. The first has the extension .Pag and contains the bitmap. The second, which has the extension .Dir , contains the data. Wikipedia revision 1376028951, retrieved 2026-11-18." a b Ladd & O'Donnell 2001 , pp. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1376028951.

    APA a b Ladd & O'Donnell 2001 , pp. (2026). a b Ladd & O'Donnell 2001 , pp. 823–824: "Most UNIX systems have some kind of DBM database. DBM is a set of library routines that manages data files consisting of key and value pairs. The DBM routines control how users enter and retrieve information from the database. Although it isn't the most powerful mechanism for storing information, using DBM is a faster method of retrieving information than using a flat file. Because most UNIX sites use one of the DBM libraries, the tools you need to store your information in a DBM database are readily available. Almost as many flavors of the DBM libraries exist as there are UNIX systems. Although most of these libraries are compatible with each other, they all basically work the same way... A list follows of some of the most popular DBM libraries available: DBM - DBM stores the database in two files. The first has the extension .Pag and contains the bitmap. The second, which has the extension .Dir , contains the data. Wikipedia revision 1376028951, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376028951

  3. Kew 2007 , p. 80: "DBMs have been with us since the early days of computing, when the need for fast keyed lookups was recognized. The original DBM is a UNIX-based library and file format for fast, highly-scalable keyed access to data. It was followed (in order) by NDBM ('new DBM'), GDBM ('GNU DBM'), and the Berkeley DB. This last is by far the most advanced, and the only DBM under active development today. Nevertheless, all of the DBMs from NDBM onward provide the same core functionality used by most programs, including Apache. A minimal-implementation SDBM is also bundled with APR , and is available to applications along with the other DBMs. Although NDBM is now old - like the city named New Town ('Neapolis') by the Greeks in about 600BC and still called Naples today - it remains the baseline DBM. NDBM was used by early Apache modules such as the Apache 1.x versions of mod_auth_dbm and mod_rewrite . Both GDBM and Berkeley DB provide NDBM emulations, and Linux distributions ship with one or other of these emulations in place of the 'real' NDBM, which is excluded for licensing reasons. Unfortunately, the various file formats are totally incompatible, and there are subtle differences in behaviour concerning database locking. These issues led a steady stream of Linux users to report problems with DBMs in Apache 1.x." Wikipedia revision 1376028951, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "Kew 2007 , p. 80: "DBMs have been with us since the early days of computing, when the need for fast keyed lookups was recognized. The original DBM is a UNIX-based library and file format for fast, highly-scalable keyed access to data. It was followed (in order) by NDBM ('new DBM'), GDBM ('GNU DBM'), and the Berkeley DB. This last is by far the most advanced, and the only DBM under active development today. Nevertheless, all of the DBMs from NDBM onward provide the same core functionality used by most programs, including Apache. A minimal-implementation SDBM is also bundled with APR , and is available to applications along with the other DBMs. Although NDBM is now old - like the city named New Town ('Neapolis') by the Greeks in about 600BC and still called Naples today - it remains the baseline DBM. NDBM was used by early Apache modules such as the Apache 1.x versions of mod_auth_dbm and mod_rewrite . Both GDBM and Berkeley DB provide NDBM emulations, and Linux distributions ship with one or other of these emulations in place of the 'real' NDBM, which is excluded for licensing reasons. Unfortunately, the various file formats are totally incompatible, and there are subtle differences in behaviour concerning database locking. These issues led a steady stream of Linux users to report problems with DBMs in Apache 1.x." Wikipedia revision 1376028951, retrieved 2026-11-18." Kew 2007 , p. 2026-11-17. https://en.wikipedia.org/wiki/Apache_Portable_Runtime. Accessed 24 November 2026.

    Chicago "Kew 2007 , p. 80: "DBMs have been with us since the early days of computing, when the need for fast keyed lookups was recognized. The original DBM is a UNIX-based library and file format for fast, highly-scalable keyed access to data. It was followed (in order) by NDBM ('new DBM'), GDBM ('GNU DBM'), and the Berkeley DB. This last is by far the most advanced, and the only DBM under active development today. Nevertheless, all of the DBMs from NDBM onward provide the same core functionality used by most programs, including Apache. A minimal-implementation SDBM is also bundled with APR , and is available to applications along with the other DBMs. Although NDBM is now old - like the city named New Town ('Neapolis') by the Greeks in about 600BC and still called Naples today - it remains the baseline DBM. NDBM was used by early Apache modules such as the Apache 1.x versions of mod_auth_dbm and mod_rewrite . Both GDBM and Berkeley DB provide NDBM emulations, and Linux distributions ship with one or other of these emulations in place of the 'real' NDBM, which is excluded for licensing reasons. Unfortunately, the various file formats are totally incompatible, and there are subtle differences in behaviour concerning database locking. These issues led a steady stream of Linux users to report problems with DBMs in Apache 1.x." Wikipedia revision 1376028951, retrieved 2026-11-18." Kew 2007 , p. 2026-11-17. https://en.wikipedia.org/wiki/Apache_Portable_Runtime.

    APA Kew 2007 , p. (2026). Kew 2007 , p. 80: "DBMs have been with us since the early days of computing, when the need for fast keyed lookups was recognized. The original DBM is a UNIX-based library and file format for fast, highly-scalable keyed access to data. It was followed (in order) by NDBM ('new DBM'), GDBM ('GNU DBM'), and the Berkeley DB. This last is by far the most advanced, and the only DBM under active development today. Nevertheless, all of the DBMs from NDBM onward provide the same core functionality used by most programs, including Apache. A minimal-implementation SDBM is also bundled with APR , and is available to applications along with the other DBMs. Although NDBM is now old - like the city named New Town ('Neapolis') by the Greeks in about 600BC and still called Naples today - it remains the baseline DBM. NDBM was used by early Apache modules such as the Apache 1.x versions of mod_auth_dbm and mod_rewrite . Both GDBM and Berkeley DB provide NDBM emulations, and Linux distributions ship with one or other of these emulations in place of the 'real' NDBM, which is excluded for licensing reasons. Unfortunately, the various file formats are totally incompatible, and there are subtle differences in behaviour concerning database locking. These issues led a steady stream of Linux users to report problems with DBMs in Apache 1.x." Wikipedia revision 1376028951, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Apache_Portable_Runtime

  4. Crash Tolerance · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "Crash Tolerance." 2026-11-17. https://www.gnu.org.ua/software/gdbm/manual/Crash-Tolerance.html. Accessed 24 November 2026.

    Chicago "Crash Tolerance." 2026-11-17. https://www.gnu.org.ua/software/gdbm/manual/Crash-Tolerance.html.

    APA encyclopegia.org. (2026). Crash Tolerance. Retrieved November 24, 2026, from https://www.gnu.org.ua/software/gdbm/manual/Crash-Tolerance.html

  5. Crashproofing the Original NoSQL Key-Value Store · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "Crashproofing the Original NoSQL Key-Value Store." 2026-11-17. https://queue.acm.org/detail.cfm?id=3487353. Accessed 24 November 2026.

    Chicago "Crashproofing the Original NoSQL Key-Value Store." 2026-11-17. https://queue.acm.org/detail.cfm?id=3487353.

    APA encyclopegia.org. (2026). Crashproofing the Original NoSQL Key-Value Store. Retrieved November 24, 2026, from https://queue.acm.org/detail.cfm?id=3487353

  6. sdbm.bun · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "sdbm.bun." yigit, ozan. 2026-11-17. http://www.cse.yorku.ca/~oz/sdbm.bun. Accessed 24 November 2026.

    Chicago "sdbm.bun." yigit, ozan. 2026-11-17. http://www.cse.yorku.ca/~oz/sdbm.bun.

    APA yigit, ozan. (2026). sdbm.bun. Retrieved November 24, 2026, from http://www.cse.yorku.ca/~oz/sdbm.bun

  7. Ruby SDBM library · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "Ruby SDBM library." 2026-11-17. https://github.com/ruby/sdbm. Accessed 24 November 2026.

    Chicago "Ruby SDBM library." 2026-11-17. https://github.com/ruby/sdbm.

    APA encyclopegia.org. (2026). Ruby SDBM library. Retrieved November 24, 2026, from https://github.com/ruby/sdbm

  8. QDBM: Quick Database Manager · retrieved 2020-02-26 · rev 1376028951
    Cite this reference

    MLA "QDBM: Quick Database Manager." 2020-02-26. https://web.archive.org/web/20200227064151/https://fallabs.com/qdbm/. Accessed 24 November 2026.

    Chicago "QDBM: Quick Database Manager." 2020-02-26. https://web.archive.org/web/20200227064151/https://fallabs.com/qdbm/.

    APA encyclopegia.org. (2020). QDBM: Quick Database Manager. Retrieved November 24, 2026, from https://web.archive.org/web/20200227064151/https://fallabs.com/qdbm/

  9. tdb: Main Page · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "tdb: Main Page." 2026-11-17. https://tdb.samba.org/. Accessed 24 November 2026.

    Chicago "tdb: Main Page." 2026-11-17. https://tdb.samba.org/.

    APA encyclopegia.org. (2026). tdb: Main Page. Retrieved November 24, 2026, from https://tdb.samba.org/

  10. New project goal: Get rid of Berkeley DB (post jessie) · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "New project goal: Get rid of Berkeley DB (post jessie)." a b Surý, Ondřej (19 June 2014). 2026-11-17. https://lists.debian.org/debian-devel/2014/06/msg00338.html. Accessed 24 November 2026.

    Chicago "New project goal: Get rid of Berkeley DB (post jessie)." a b Surý, Ondřej (19 June 2014). 2026-11-17. https://lists.debian.org/debian-devel/2014/06/msg00338.html.

    APA a b Surý, Ondřej (19 June 2014). (2026). New project goal: Get rid of Berkeley DB (post jessie). Retrieved November 24, 2026, from https://lists.debian.org/debian-devel/2014/06/msg00338.html

  11. oss-security - Fun with DBM-type databases... · retrieved 2026-11-17 · rev 1376028951
    Cite this reference

    MLA "oss-security - Fun with DBM-type databases." a b Debroux, Lionel (16 Jun 2018). 2026-11-17. https://www.openwall.com/lists/oss-security/2018/06/17/1. Accessed 24 November 2026.

    Chicago "oss-security - Fun with DBM-type databases." a b Debroux, Lionel (16 Jun 2018). 2026-11-17. https://www.openwall.com/lists/oss-security/2018/06/17/1.

    APA a b Debroux, Lionel (16 Jun 2018). (2026). oss-security - Fun with DBM-type databases. Retrieved November 24, 2026, from https://www.openwall.com/lists/oss-security/2018/06/17/1

  12. DBM (computing) · retrieved 2026-10-19 · rev 1376028951
    Cite this reference

    MLA "DBM (computing)." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1376028951. Accessed 24 November 2026.

    Chicago "DBM (computing)." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1376028951.

    APA Wikipedia. (2026). DBM (computing). Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376028951

Cite this article

MLA

"DBM (computing)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/dbm-computing. Accessed 24 November 2026.

Chicago

"DBM (computing)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/dbm-computing.

APA

encyclopegia.org. (2026). DBM (computing). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/dbm-computing

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1979Wikipedia

Related articles

Deep Sea 3D

enwiki · references available

Robert Natus

enwiki · references available

Centennial High School (Corona, California)

enwiki · references available

Ernst Gustav Kühnert

enwiki · references available

Clarksville High School (Indiana)

enwiki · references available

YÖS exam

enwiki · references available

Tore (volcano)

enwiki · references available

Mark Versfeld

enwiki · references available

Green Helmet

enwiki · references available

2002 (film)

enwiki · references available

Dead (Obituary album)

enwiki · references available

Francisco Gomes de Amorim

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376028951 · 0.5 · snapshot enwiki-001376028951

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.