Postgres platform for instant copy-on-write database branches that scale to zero, open source or hosted
Xata is a Postgres platform built around branching. You can start a fresh database or branch an existing one in seconds. Each branch gets its own schema, compute and data, but shares storage with its parent through copy-on-write, so you pay only for what changes. Idle branches hibernate and use no compute until the next query. Xata also maintains two open-source Postgres tools: pgroll for zero-downtime schema migrations and pgstream for anonymizing personal data.
The open-source edition is free to self-host. Xata Cloud starts with a 14-day trial, then bills by the hour: the smallest instance costs $0.012 an hour, about $9 a month, plus $0.28 per GB of storage. For a solo founder who needs one database, Supabase or Neon are simpler starting points with free tiers. Xata makes more sense once you want a separate database branch for every pull request, preview environment or coding agent.
Best for Teams that want a separate Postgres database branch for every pull request, preview or coding agent
Plans
| Plan | Price | Includes |
|---|---|---|
| Open Source | $0 | Self-hosted on your own infrastructure, branching and scale-to-zero, community support |
| Xata Cloud | From $0.012/hr plus $0.28/GB/mo storage | Smallest instance (1 GB RAM) about $9/mo; free trial, no card; no per-branch fees |
| BYOC | Custom | Runs in your own cloud, priced as a share of managed cloud spend, 24/7 support |
Prices checked on the vendor's page
Pros
- Branch a Postgres database in seconds: branches share storage with the parent and store only their changes
- Idle branches scale to zero and wake on the first query, so preview and test databases cost little
- Runs upstream Postgres, so standard extensions, drivers and tools work
Cons
- No free cloud tier: Xata Cloud has a 14-day trial, then hourly billing
- Built around branching for teams and coding agents, more than a simple side project needs
- Smaller community and ecosystem compared to Supabase or Neon
Compare
Verified