macOS
brew install traildblocal Homebrew formula metadata
sudo port install tdbMacPorts ports tree · databases/tdb/Portfile · source: api.github.com
brew
Blazingly-fast database for log-structured data. Version 0.6 via Homebrew; verified from local package data.
install
brew install traildblocal Homebrew formula metadata
sudo port install tdbMacPorts ports tree · databases/tdb/Portfile · source: api.github.com
sudo apt install libtraildb-devDebian stable package indexes · libtraildb-dev · source: deb.debian.org
sudo apk add py3-tdbAlpine Linux edge package indexes · py3-tdb · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#tdbnixpkgs package indexes · pkgs/by-name/td/tdb/package.nix · source: api.github.com
sudo pacman -S tdbArch Linux sync databases · tdb · source: geo.mirror.pkgbuild.com
sudo zypper install libtdb-developenSUSE Tumbleweed package metadata · libtdb-devel · source: download.opensuse.org
overview
Blazingly-fast database for log-structured data
history
TrailDB is a C library and command-line tool for storing and querying immutable series of discrete events. It was created at AdRoll for large-scale event processing and later packaged for developers who need compact, portable event databases.
The official TrailDB homepage says TrailDB was created at AdRoll to power processing of time-series events. GitHub repository metadata dates the main repository to August 12, 2014, and the official site documents TrailDB 0.6 as a released version.
The docs describe TrailDB as an efficient tool for storing and querying things that happen over time, such as mobile-app actions, trading-algorithm events, website actions, or server logs. Unlike continuous time-series metrics, TrailDB focuses on discrete, structured events.
The core implementation is a C library with the tdb command-line tool. The official docs and homepage list bindings for Go, Python, D, Haskell, and R, making the project a small database format plus language ecosystem rather than only one executable.
The official homepage says AdRoll had used TrailDB since 2014 to store and query tens of trillions of web-originating events. That is the strongest documented adoption signal and explains why the project emphasizes compression, immutability, distributed processing, and low operational overhead.
Package-manager adoption made TrailDB easier to install for local analysis and development. The official README and getting-started docs explicitly mention Homebrew installation, while the input facts show packages or bindings in Homebrew, Alpine, Debian, MacPorts, Nix, Arch, Ubuntu, and openSUSE ecosystems.
TrailDBs are immutable files created and read by applications through the TrailDB library. The official docs describe pipelines that encode new TrailDBs periodically, store them in object storage such as S3, and process them in parallel without a centralized bottleneck.
For command-line users, the repository contains tdb and the getting-started guide shows tdb dump against the included test database. TrailDB is used for metrics, usage-pattern analysis, anomaly detection, and clustering or predicting user behavior.
TrailDB is package-nerd significant as an example of a specialized database packaged like a Unix tool: a native C library, CLI, compact file format, and multiple language bindings. It appeals to users who want local, scriptable analysis of large event logs without operating a database server.
Its packaging story is also a reminder that some data infrastructure is intentionally file-based and immutable. That makes the install surface small, but dependencies such as Judy arrays and libarchive still matter to maintainers.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tdb | cli | global executable | |
traildb_bench | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/traildb/traildb
install metadata
| Package key | brew:traildb |
|---|---|
| Version | 0.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/traildb |
| Homepage | https://traildb.io/ |
| Repository | https://github.com/traildb/traildb |
| Upstream docs | https://traildb.io/docs |
| License | MIT |
| Source archive | https://github.com/traildb/traildb/archive/refs/tags/0.6.tar.gz |
| Dependencies | judy, libarchive |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | traildb |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libtraildb-dev 0.6+dfsg1-1+b2
library to handle series of discrete events (development files)
https://github.com/traildb/traildb
sudo apt install libtraildb-devlibtraildb0 0.6+dfsg1-1+b2
library to handle series of discrete events
https://github.com/traildb/traildb
sudo apt install libtraildb0traildb-cli 0.6+dfsg1-1+b2
library to handle series of discrete events (cli tool)
https://github.com/traildb/traildb
sudo apt install traildb-clilibtraildb-dev 0.6+dfsg1-1build2
library to handle series of discrete events (development files)
https://github.com/traildb/traildb
sudo apt install libtraildb-devlibtraildb0 0.6+dfsg1-1build2
library to handle series of discrete events
https://github.com/traildb/traildb
sudo apt install libtraildb0traildb-cli 0.6+dfsg1-1build2
library to handle series of discrete events (cli tool)
https://github.com/traildb/traildb
sudo apt install traildb-clitdb
sudo port install tdbtdb
nix profile install nixpkgs#tdblibtdb-dev 1.4.10-1build1
Trivial Database - development files
sudo apt install libtdb-devlibtdb1 1.4.10-1build1
Trivial Database - shared library
sudo apt install libtdb1python3-tdb 1.4.10-1build1
Python3 bindings for TDB
sudo apt install python3-tdbtdb-tools 1.4.10-1build1
Trivial Database - bundled binaries
sudo apt install tdb-toolspy3-tdb 1.4.15-r1
Python 3 binding for the tdb library
sudo apk add py3-tdbtdb 1.4.15-r1
The tdb library
sudo apk add tdbtdb-dev 1.4.15-r1
The tdb library (development files)
sudo apk add tdb-devtdb-doc 1.4.15-r1
The tdb library (documentation)
sudo apk add tdb-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.