Db Branch
Instant MySQL database branches on ZFS clones, clustered across VMs with ProxySQL routing
DB Branch makes MySQL and PostgreSQL branches from ZFS snapshots instantly, with data never leaving the user's network. The core of DB Branch is free and open source under the Apache-2.0 license. Branches are ZFS copy-on-write clones, connections can go through ProxySQL, and each branch is a stock MySQL or PostgreSQL server.
DB Branch runs on Ubuntu 24.04 LTS and Ubuntu 26.04 LTS (tested), and requires a ZFS pool for storage. Branches expire automatically and can send notifications to Slack or a webhook. The cluster uses Raft to keep state on each node, allowing any node to accept commands.
Creating a branch takes 0.5 seconds for PostgreSQL, 3 seconds for MySQL, and copies zero bytes at creation. AI agents can use DB Branch via MCP to create isolated branches without touching production.
Summary drafted from the project's own website. Every sentence is backed by text on that page and was reviewed before publishing.