1min.

1MIN · DATABASES

db-branch uses ZFS clones for disposable database environments

db-branch creates disposable MySQL or PostgreSQL environments from ZFS snapshots, with each branch running its own database process. Copy-on-write storage avoids copying the entire base when a branch is created. A command line, API, web console and MCP interface expose the same operations, including expiry and reset, for migration tests or isolated agent work.

db-branch

Why it matters

Testing against realistic database size becomes more practical when creating a test copy does not require another full data transfer.

More context

Undated project discovery. Requires Ubuntu 24.04 or 26.04 and a ZFS pool. The README offers a Multipass evaluation VM with sample data; its file-backed pool is for evaluation. Try branch creation, a migration, reset and expiry before adopting it.

Keep in mind

Beta; interfaces may change. Core is Apache-2.0, while authentication/SSO, audit, history and other modules are separate paid packages. Snapshot cloning does not anonymize data. No performance or isolation tests were run here.

Original read

More engineering ideas, one minute at a time.

Explore more stories