Automic VaultAutomic Vault

brew

Install traildb with Homebrew, apt, apk, MacPorts, Nix, pacman, zypper

Blazingly-fast database for log-structured data. Version 0.6 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install traildb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tdb

MacPorts ports tree · databases/tdb/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libtraildb-dev

Debian stable package indexes · libtraildb-dev · source: deb.debian.org

Alpine Linux apkverified · 92%
sudo apk add py3-tdb

Alpine Linux edge package indexes · py3-tdb · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#tdb

nixpkgs package indexes · pkgs/by-name/td/tdb/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S tdb

Arch Linux sync databases · tdb · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libtdb-devel

openSUSE Tumbleweed package metadata · libtdb-devel · source: download.opensuse.org

overview

Package summary

Blazingly-fast database for log-structured data

Commands and aliases

  • tdb
  • traildb_bench

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2014: GitHub repository created; AdRoll use begins according to the official homepage.
  • 2016: Official docs copyright and TrailDB site materials identify AdRoll as the project source.
  • 2017: The official homepage announces TrailDB 0.6.
  • 2021: Official documentation build date and repository activity show the project site still published.

Related projects

  • Official TrailDB language binding repositories include traildb-python, traildb-go, traildb-r, traildb-haskell, and traildb-d.
  • The official getting-started docs name Judy arrays and libarchive as external dependencies.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tdbcliglobal executable
traildb_benchcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.6
manager updated
local dataok
upstreamcurrent
latest detected0.6

https://github.com/traildb/traildb

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:traildb
Version0.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/traildb
Homepagehttps://traildb.io/
Repositoryhttps://github.com/traildb/traildb
Upstream docshttps://traildb.io/docs
LicenseMIT
Source archivehttps://github.com/traildb/traildb/archive/refs/tags/0.6.tar.gz
Dependenciesjudy, libarchive
Build dependenciespkgconf
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametraildb
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: traildb
  • 1 dependencies
  • normalized package name match
  • Matched by: Traildb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtraildb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtraildb0 0.6+dfsg1-1+b2

library to handle series of discrete events

https://github.com/traildb/traildb

sudo apt install libtraildb0
  • Section: libs
  • Architecture: amd64
  • Source Package: traildb
  • 3 dependencies
  • normalized package name match
  • Matched by: Traildb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtraildb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

traildb-cli 0.6+dfsg1-1+b2

library to handle series of discrete events (cli tool)

https://github.com/traildb/traildb

sudo apt install traildb-cli
  • Section: database
  • Architecture: amd64
  • Source Package: traildb
  • 3 dependencies
  • normalized package name match
  • Matched by: Traildb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: traildb-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libtraildb-dev 0.6+dfsg1-1build2

library to handle series of discrete events (development files)

https://github.com/traildb/traildb

sudo apt install libtraildb-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: traildb
  • 1 dependencies
  • normalized package name match
  • Matched by: Traildb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtraildb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libtraildb0 0.6+dfsg1-1build2

library to handle series of discrete events

https://github.com/traildb/traildb

sudo apt install libtraildb0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: traildb
  • 3 dependencies
  • normalized package name match
  • Matched by: Traildb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtraildb0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

traildb-cli 0.6+dfsg1-1build2

library to handle series of discrete events (cli tool)

https://github.com/traildb/traildb

sudo apt install traildb-cli
  • Section: universe/database
  • Architecture: amd64
  • Source Package: traildb
  • 3 dependencies
  • normalized package name match
  • Matched by: Traildb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: traildb-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts94%

tdb

sudo port install tdb
  • installed executable or alias match
  • Matched by: Tdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/tdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

tdb

nix profile install nixpkgs#tdb
  • installed executable or alias match
  • Matched by: Tdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/td/tdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libtdb-dev 1.4.10-1build1

Trivial Database - development files

https://tdb.samba.org/

sudo apt install libtdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tdb
  • 2 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libtdb1 1.4.10-1build1

Trivial Database - shared library

https://tdb.samba.org/

sudo apt install libtdb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tdb
  • 1 dependencies
  • installed executable or alias match
  • Matched by: Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtdb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3-tdb 1.4.10-1build1

Python3 bindings for TDB

https://tdb.samba.org/

sudo apt install python3-tdb
  • Section: python
  • Architecture: amd64
  • Source Package: tdb
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-tdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

tdb-tools 1.4.10-1build1

Trivial Database - bundled binaries

https://tdb.samba.org/

sudo apt install tdb-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: tdb
  • 2 dependencies
  • installed executable or alias match
  • Matched by: Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tdb-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

py3-tdb 1.4.15-r1

Python 3 binding for the tdb library

https://tdb.samba.org/

sudo apk add py3-tdb
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb 1.4.15-r1

The tdb library

https://tdb.samba.org/

sudo apk add tdb
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb-dev 1.4.15-r1

The tdb library (development files)

https://tdb.samba.org/

sudo apk add tdb-dev
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb-doc 1.4.15-r1

The tdb library (documentation)

https://tdb.samba.org/

sudo apk add tdb-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • installed executable or alias match
  • Matched by: Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment