tdb
« Back to VersTracker
Description:
Trivial DataBase, by the Samba project
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: database samba key-value embedded storage
Install: brew install tdb
About:
Tdb is a lightweight embedded database designed specifically for the Samba project's internal needs. It provides a simple, hash-based key-value store with an API modeled after the GDBM library. Its primary value is offering a robust and fast solution for storing small amounts of data in a single file without external dependencies.
Key Features:
  • Simple hash-based key-value API
  • Atomic transaction support for data integrity
  • Minimal dependencies, ideal for embedded use
  • Fast and lightweight for small datasets
Use Cases:
  • Backing Samba's internal state and configuration databases
  • Storing application metadata for lightweight services
  • Caching frequently accessed data in simple applications
Alternatives:
  • SQLite – More complex relational model, suitable for structured data and complex queries
  • GDBM – Similar API, but Tdb is optimized for concurrent access and Samba's specific requirements
Version History
Detected Version Rev Change Commit
Sep 17, 2024 6:42pm 1 VERSION_BUMP c33db141