Article may be outdated

This article is 2 days old. Some details may have changed since publication.

Hacker News·3 min read·medium

Show HN: db-branch – database branches in seconds for AI agents and CI, via ZFS

N
nu_nu11
Show HN: db-branch – database branches in seconds for AI agents and CI, via ZFS
✦AI Summary

The db-branch project is a new open-source tool that allows developers to create instant, copy-on-write database branches for MySQL and PostgreSQL using ZFS. It is designed to facilitate faster testing, CI/CD workflows, and AI agent experimentation by avoiding full data duplication.

Why it matters

This tool significantly reduces the time and storage overhead required for database testing, potentially accelerating development cycles for data-heavy applications.

✦Dive DeeperCreate a free account to unlock

Instant database branches for MySQL and PostgreSQL, on your own servers.

Test a migration, let an AI agent loose, or give every pull request its own copy of the database. db-branch creates a copy-on-write branch of a large database in seconds, with nothing copied. Break it, reset it, throw it away. Built on ZFS clones, self-hosted, Apache-2.0.

Status: Beta. db-branch is usable today, but APIs and command-line details may still change before 1.0. It is an independent open-source project, built from scratch.

In your browser, 0 minutes. A live console demo runs entirely in the page (nothing real is created): https://demo.db-branch.com/

On a Mac or Windows machine, about 2 minutes. db-branch needs Linux and ZFS, so run it in an Ubuntu VM with Multipass . One command makes the VM, installs db-branch, initialises it on a file-backed ZFS pool and loads a small sample base, shop (MySQL 8.4):

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologybusinessstartups
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in