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.
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