
If you're tired of spinning up entire database clones for preview environments or testing branches, this gives you copy-on-write Postgres branching that completes in seconds regardless of database size. Built on CloudNativePG and OpenEBS, it runs on Kubernetes with scale-to-zero and includes a serverless SQL driver for edge functions that can't hold persistent connections. The workflow is straightforward: spin up a local cluster with Tilt and Kind, create branches via CLI, and tear them down when done. The preview environment pattern is the real win here, letting you create isolated database snapshots per pull request without the usual storage overhead or wait times. Self-hostable alternative to managed database branching services.
$ npx -y skills add aradotso/trending-skills --skill xata-postgres-platform --agent claude-codeInstalls into .claude/skills of the current project.
Skill by ara.so — Daily 2026 Skills collection.
Xata is an open-source, cloud-native Postgres platform built on Kubernetes that provides copy-on-write (CoW) branching, scale-to-zero, auto-scaling, high-availability, PITR backups, and a serverless SQL driver. It sits on top of CloudNativePG and OpenEBS.
┌─────────────────────────────────────────────────────┐
│ Xata Platform │
│ CLI ──► REST API (clusters/projects services) │
│ SQL Gateway (routing, scale-to-zero wakeup) │
│ Branch Operator (manages K8s resources per branch) │
│ Auth Service (Keycloak-based, RBAC API keys) │
├─────────────────────────────────────────────────────┤
│ CloudNativePG (HA, failover, backups, pooling) │
│ OpenEBS (local NVMe or Mayastor replicated storage) │
└─────────────────────────────────────────────────────┘
Sponsors