Open source, cloud native, Postgres platform with copy-on-write branching and scale-to-zero
open coreApache-2.0self-hostablefreeMCP
Xata is a Postgres platform for running many Postgres instances on Kubernetes, open sourced under Apache-2.0 in 2026 and the same software behind the Xata Cloud service. Branches copy terabytes of data in seconds with copy-on-write at the storage level, idle branches scale to zero and wake on connection, and compute autoscales. It builds on CloudNativePG for high availability, failover, upgrades and backups, and adds a SQL gateway, a branch operator, a control plane with REST APIs and a CLI, and a serverless driver. Xata's own README says it's overkill for a single Postgres instance; it suits an internal Postgres-as-a-service or preview, test and dev environments.
Problems it solves
- copy-on-write Postgres branches like Neon, but self-hosted on our own Kubernetes cluster
- a preview database for every pull request with a copy of the real data
- run our own internal Postgres-as-a-service for every team
- dev and test databases that switch off when nobody is using them
- copy a terabyte Postgres database in seconds for testing
- highly available Postgres with automatic failover on Kubernetes, plus branching
- give each AI agent run its own throwaway Postgres database
- anonymised copies of production data for developers
- a serverless Postgres driver over HTTP for our own Postgres
Features
- copy-on-write branching at the storage level
- scale to zero
- autoscaling and bin-packing
- high availability and read replicas
- point-in-time backups to object storage
- serverless driver over HTTP and WebSockets
- REST API and CLI with RBAC API keys
- Keycloak-based auth service
Ways to run it
Open Source
Only in this edition
- branching and scale-to-zero (about 10 s wake-up)
Not included
- security features for adversarial multi-tenancy, which Xata keeps closed source1
- Xatastor storage (the open source stack uses OpenEBS/Mayastor)2
You arrange
- a Kubernetes cluster
- CloudNativePG and copy-on-write storage (the open source stack uses OpenEBS)
- object storage for backups
Xata Cloud
from $0.012/hour + $0.28/GB-month storage2
Only in this edition
- fully managed
- about 1 s wake-up
- Xatastor storage
- SOC 2 and GDPR
- AWS and GCP regions
BYOC
quote: a percentage of Xata managed cloud spend2
Only in this edition
- runs in your own cloud account, managed by Xata
- AWS Marketplace
You arrange
- your own AWS, Azure or GCP account
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Alternatives
The same job
These do what Xata does.
- pgoverlay Instant, writable copy-on-write branches of your real Postgres, self-hosted on plain Docker or Kubernetes. No ZFS required.
- db-branch Instant database branches for MySQL and PostgreSQL, on your own servers
- DBLab Engine Blazing-fast PostgreSQL cloning and branching for dev/test environments and CI
- RiftDB Instant, copy-on-write database branches for Postgres. Self-hosted. Every PR gets its own database.
- Supabase The Postgres development platform
- Neon Serverless Postgres with branching, autoscaling and scale to zero
