# xataio/xata

Open source, cloud native, Postgres platform with copy-on-write branching and scale-to-zero

Repository: https://github.com/xataio/xata
Canonical: https://ross.abutalabs.com/products/xata
Homepage: https://xata.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: branching, postgresql, scale-to-zero, kubernetes
Last push: 2026-09-02T13:13:45+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 10
- inputs: {"age_days": 140, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1057, forks 54 (observed 2026-09-03T02:15:20.657282+00:00)

## What it is
Xata is an open-source, cloud-native Postgres platform for self-hosting many Postgres instances on Kubernetes, with copy-on-write branching, scale-to-zero compute, autoscaling, HA replicas, and PITR backups. It exposes REST APIs and a CLI for control-plane operations and powers the managed Xata Cloud service.

## Use cases
- run an internal Postgres-as-a-Service for my company on Kubernetes
- create instant database branches for every pull request
- spin up ephemeral preview and testing environments with production-sized data
- scale Postgres compute to zero when idle to save costs
- give AI coding agents isolated Postgres branches for safe migrations
- clone TB-scale Postgres databases in seconds without duplicating storage
- set up PITR backups to object storage for many Postgres instances

## When to choose
- you need to manage a large fleet of Postgres instances on Kubernetes
- you want fast copy-on-write branching for dev, test, or preview environments
- you want scale-to-zero and bin-packing autoscaling for cost efficiency
- you need HA with automatic failover and read replicas
- you want an opinionated, feature-rich alternative to a plain K8s Postgres operator

## When to avoid
- you only need a single Postgres instance - a Kubernetes-based platform is overkill
- you want a fully managed service without operating your own cluster (use Xata Cloud instead)
- you don't run Kubernetes and can't adopt it
- you need the managed features like observability, compliance, or multi-region that are cloud-only

## Facets
- artifact type: service
- maturity: stable
- function: database, container-orchestration, deployment, backup, api-gateway, cli
- domain: databases, self-hosted, cloud-computing, developer-tools
- platform: self-hosted, cloud, go
- tags: postgres, database-branching, copy-on-write, scale-to-zero, postgres-as-a-service, pitr, read-replicas, serverless-driver, preview-environments, high-availability, devops, kubernetes, docker, linux

## Member repositories
- xataio/xata (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:20.657282+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:59:04.224402+00:00, confidence not recorded.
  - readme: https://github.com/xataio/xata (fetched 2026-09-03T02:15:20.657282+00:00, sha 064a3ef2c566)
  - homepage: https://xata.io (fetched 2026-08-29T13:00:31.742286+00:00, sha 611bf017601f)
  - site_page: https://xata.io/docs/overview (fetched 2026-08-29T13:00:31.745445+00:00, sha 482f495c09f3)
  - site_page: https://xata.io/about (fetched 2026-08-29T13:00:31.749076+00:00, sha d5286d577289)
  - site_page: https://xata.io/pricing (fetched 2026-08-29T13:00:31.747198+00:00, sha 1a3badf7f79b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
