by DB Branch

db-branch review, pricing and verdict

Self-hosted MySQL and PostgreSQL branches on ZFS clones: the maker measured 0.5 seconds for a PostgreSQL branch on its own three-node test cluster.

Best for
Platform engineer
Not for
Founder without a Linux server

Should you use db-branch?

Pick it if your platform team wants a throwaway copy of a big database per pull request or AI agent and can run Ubuntu with ZFS. Skip it if you want a managed cloud database. It is Beta, only days old, and promises no support for the free core.

One open-source tool makes copy-on-write branches of both MySQL and PostgreSQL on your own servers and exposes them to agents over MCP.

Also for

  • Backend developer
  • QA lead
Show 3 more
  • Platform and DevOps engineers who run their own database servers
  • Backend developers who test migrations against copies of large databases
  • Engineers who give AI agents a sandbox copy of real data

Also not for

  • Team that wants a managed cloud database

Main trade-off

Linux and ZFS only, no hosted version, and a Beta project with no promised support.

db-branch pricing

PlanMonthly priceWhat it includes
CommunityFreeBases, snapshots and branches, Checkpoints: save a branch and go back to it, Branch upgrade, such as MySQL 8.0 to 8.4, Anonymous branches with limits, Scheduled refresh and free masking tools, Cluster, console, CLI, API and MCP
Lite$30/moHistory module: record a branch and go back to any transaction (MySQL), History of what changed, shown with the checkpoints, Up to 3 nodes, Billed monthly or yearly, for businesses only

Community is free and open source under Apache-2.0, on any number of nodes. Lite costs USD 30 monthly or USD 300 yearly, is sold to businesses only, and adds the history module for small clusters of three nodes at most. Team and Business are not on sale yet and have no announced price. Paid modules run free for 30 days without a key.

Before you commit

  • Lite covers up to 3 nodes and the paid features stop if the cluster grows past that (modules page)
  • On arm64 each MySQL runtime download is 800 MB to 1 GB because Oracle ships no minimal build there (changelog 0.2.5)

What db-branch does

db-branch is open-source software that creates instant MySQL and PostgreSQL database branches on your own servers using ZFS copy-on-write clones. It ships a command line, REST API, web console and MCP server, runs on Ubuntu with ZFS, and has no hosted version, so branch data never leaves your network.

  • Copy-on-write branches

    A branch is a ZFS clone of a base snapshot, so creating one copies no data and the time does not grow with the size of the base.

  • Reset and checkpoints

    Each branch keeps its starting point as a snapshot, so a reset finishes in seconds and runs no SQL, and a checkpoint saves a running branch to return to later.

  • Per-branch version upgrade

    branch upgrade moves one branch to a newer MySQL or PostgreSQL version after saving a checkpoint, and rolls back by itself if the upgrade fails.

  • Scheduled refresh and masking

    Set a source and an interval and db-branch dumps, loads and snapshots production, with Greenmask or PostgreSQL Anonymizer available to mask the base first.

Show all 8 features
  • MCP server for agents

    An agent can create, use and delete its own branches through MCP with a personal token that carries the branches scope.

  • Cluster and routing

    Raft keeps state on every node so any node takes commands, and optional ProxySQL routes a connection to a branch by user name or query comment.

  • Web console

    Admin and user pages show bases, snapshots, branches, storage and cluster load, and from 0.2.4 can run SQL on a branch.

  • Expiry and notifications

    A branch can expire after a set time, and notifications go to Slack or a webhook.

Works with

  • MySQL
  • PostgreSQL
  • ZFS
  • ProxySQL
  • GitHub Actions
  • Slack
  • Claude Code

Missing integrations

  • Hosted cloud service
  • Single sign-on (in preparation)

Most users expect these and they are not currently supported.

Capabilities

  • Database branching
  • Zfs
  • Self-hosted
  • Agent sandbox

Strengths and limits

Strengths

  • The core is open source and free on any number of nodes, so a team can give every pull request its own database without buying a licence.
  • Every branch is a stock MySQL or PostgreSQL server, which lets an operations team debug it with zfs, mysql and psql instead of a proprietary layer (maker architecture page).
  • It covers both MySQL and PostgreSQL, with several engine versions installed side by side (maker requirements table).
  • Data stays inside your network: the maker says a licence key is verified by signature within your own cluster, and only automatic renewal calls out (maker FAQ).

Limits

  • It needs Ubuntu 24.04 or 26.04 and a ZFS pool; other Linux distributions are untested, and macOS or Windows users can only run it in a Multipass VM on a file-backed pool meant for evaluation (maker docs).
  • It is Beta: the README says APIs and command-line details may change before 1.0, so scripts written against it today may need updates.
  • No support is promised for the open-source core (SUPPORT.md) and the maker's legal notice says a paid licence includes none, which matters to teams that need an SLA.
  • Paid plans are sold to businesses only, and the Team and Business plans that add user accounts, roles and an audit log are not on sale yet, so a team that needs sign-in control cannot buy it today.

How Hokai rates it

  • Ease of use5.5 / 10
  • Features7.0 / 10
  • Value for money7.5 / 10
  • Support4.0 / 10

db-branch alternatives

The nearest AI tools on Hokai for the same job.

ToolPrice fromFree planRuns onRating
db-branch This page$30/moYesWeb3.0
ArchalStateful API sandboxes for testing AI agents and integrations: 22 environments such as GitHub, Slack and Stripe, billed per environment-minute. YC S26.--YesWeb3.4
QodoAI code review and test generation platform with a multi-agent architecture that scores highest for real-bug detection among independently benchmarked code review tools.$30/moTrialWeb · Mac · Windows--
JamJam auto-captures console logs, network requests, and repro steps in 1 click, used by 170,000+ developers to cut bug reporting time by up to 60%.$12/moYesWeb · iOS--

db-branch facts

Training-data policy
No AI model is trained on your data: the maker says the provider never receives the contents of your databases.
Minimum skill level
Advanced
Price band
Free

Data and privacy

Apache-2.0 core; the paid modules are closed-source

Questions about db-branch

How much does db-branch cost?

The core is free under Apache-2.0 and runs on any number of nodes. The Lite plan is USD 30 a month or USD 300 a year, up to 3 nodes, and adds the history module; Japanese businesses see JPY 3,000 and JPY 30,000 instead. Team and Business have no announced price. Sales are to businesses only, and the Japanese legal notice states that the seller gives no refund after payment (read 16 November 2026).

Can I use db-branch without paying?

Yes. Everything in the open-source core is free, including branches, checkpoints, branch upgrade, clustering, the console and MCP. Paid modules also run without a key for a 30-day trial that starts when you first enable one, once per cluster; afterwards only the paid features stop and your databases keep working.

Which databases and versions can db-branch branch?

MySQL and PostgreSQL. The maker tests MySQL 8.0 and 8.4 and PostgreSQL 18, and engine runtimes install by version and sit side by side, so each base picks its own. A branch runs on the version of its base, and branch upgrade can move a single branch to a newer one.

Is there a hosted version, or does it only run on my servers?

Only on your servers. The README states there is no hosted or cloud version, and a licence key is checked by its signature inside your cluster. You need a supported Ubuntu release and a ZFS pool; a Multipass VM on macOS or Windows works for evaluation, but its file-backed pool is not meant for real data.

Can an AI agent use db-branch safely?

An agent connects through the built-in MCP server with a personal token created under Account, MCP access, which carries the branches scope. It can create a branch, run its SQL there and delete the branch, so production is not touched. Masking stays your job: the maker's FAQ says it runs the masking tool and rules you choose and does not guarantee the result.

About db-branch

db-branch is open-source software that gives MySQL and PostgreSQL databases Git-style branches on your own servers. Its public repository was created on 13 November 2026 and the project calls itself Beta; the maker's Japanese legal notice names one individual, Keisuke Masuda, as the seller. A branch is a ZFS copy-on-write clone of a snapshot of a loaded database called a base, so making one copies no data and takes seconds however large the base is. The maker measured 0.5 seconds for PostgreSQL and 3 seconds for MySQL on its own three-node test cluster.

Read the full background

Each branch is a stock mysqld or postgres process on its own port, so nothing proprietary sits in the data path and ordinary tools such as zfs, mysql and psql still work. A base can be loaded from a dump or refreshed from production on a timer, then masked with the free Greenmask or PostgreSQL Anonymizer modules before branches are cut. A branch can be reset to its start, saved as a checkpoint, upgraded to a newer database version on its own, or left to expire. A command line, a REST API and a web console share one API, and three or more nodes form a Raft cluster that keeps working when one is down.

It suits platform and backend teams that want a fresh copy of a large database for every pull request or migration test, and teams that let Claude Code or another AI agent loose on data. The built-in MCP server lets an agent create a branch, run a risky query on it and delete it, so production stays untouched. The maker's CI example is a GitHub Actions workflow that opens a branch when a pull request opens and deletes it when the pull request closes.

It runs only on Ubuntu 24.04 or 26.04 with a ZFS pool and has no hosted version. The nearest alternatives are Neon, whose docs describe branches as copy-on-write clones of your data, and DBLab Engine from Postgres.ai, an open-source project built for Postgres that showed 2.8k GitHub stars against this project's 18 on 16 November 2026. Neither has a Hokai page yet. For sandboxes built to test AI agents, see Archal and the wider AI software testing shelf.

Versions 0.2.4 and 0.2.5 shipped on 15 November 2026 and added pause and resume for a branch, an SQL box in the web console, a storage page that shows pool use per base and branch, and fixes for MySQL runtimes on arm64.

On 16 November 2026 Hokai opened the public demo console, whose data is sample data that resets on reload. Its user page listed a MySQL 8.4.13 base and a PostgreSQL 18.6 base of about 1 GiB, and let a visitor pick a branch name, a keep-for time from 1 hour to 7 days, who may connect, and an option to record every change.

Decision: use it if you already run Ubuntu with ZFS and want a database branch per pull request or per agent. Choose a managed branching service if you want no servers to run, and wait if you need vendor support or sign-in control today.

Sources and guides

More AI Tools on Hokai

  • KushoAI test automation generates production-ready API and UI test suites in minutes with 100% backend coverage and security testing.
  • TestMu AIAgentic AI quality engineering platform combining a cross-browser, cross-device testing cloud with AI-generated tests, free tier included. Recognized as a 2025 Gartner Magic Quadrant Challenger.
  • FramerDesign and publish stunning websites without code
  • Google StitchGoogle Labs' free AI tool that turns prompts, sketches, or voice into 5 linked UI screens, exporting to Figma or code.
  • AstrocadeFree phone-first game maker and feed: describe a game, AI builds a playable mini game, and it joins more than 1,000 new games published each day.
  • BAMLProgramming language for agents that generates typed SDKs for your own language and records every call; free, open source, with hosted tracing in early access.