Skip to main content

DBLab vs Xata

thin clones on one machine vs a branching platform

Xata clones or streams an existing Postgres into its platform and branches it with copy-on-write storage. DBLab makes thin clones of any Postgres on one machine you run.

See how DBLab worksOpen the demoPricing

Checked on against 18 pages of Xata documentation. PostgreSQL only. Markdown

Status of Xata: ClickHouse announced on November 9, 2026 that it is acquiring Xata. Xata is still onboarding customers; ClickHouse plans to integrate it into ClickHouse Managed Postgres in the coming months. 14

Where DBLab is ahead of Xata​

Each point pairs what our documentation says with what the Xata documentation says. Follow the links and check.

  1. The data stays on a machine you control

    DBLab

    DBLab runs on a machine you control, in any cloud or on-premises. docsdocs 2

    Xata

    Xata runs each branch as a Postgres instance on Kubernetes. The open-source platform self-hosts on your own Kubernetes cluster; BYOC needs at least three Kubernetes nodes and keeps the control plane in Xata's AWS account. 711

  2. One copy of the data, many clones

    DBLab

    Clones share one physical copy on one machine and take extra disk space only for what they change. DBLab SE is billed by the size of that machine, not by database size or number of clones. docsdocs 2

    Xata

    Xata Cloud bills each running branch instance by the hour, from $0.012 (micro) to $1.536 (8xlarge), plus $0.28 per GB-month of storage; idle branches scale to zero. BYOC adds a management fee with a minimum annual commitment. 318

  3. Plans for an AI agent, without the rows

    DBLab

    Joe returns EXPLAIN plans and timings from a clone, not rows. docsdocs 2

    Xata

    Xata's MCP server gives assistants run_sql on a branch, read-only by default; writes need write=true and confirm=true. The sources we reviewed do not describe a mode that returns query plans without the rows. 10

Short answer​

Xata is a Postgres platform with copy-on-write branches, scale to zero and anonymization, offered as Xata Cloud, in your own cloud (BYOC), or as open-source software on Kubernetes. It copies an existing Postgres into Xata with xata clone, once, on a schedule or as a continuous stream, and masks data on the way. DBLab Engine is open-source software that makes full-size thin clones of any PostgreSQL on a single machine you run. Both serve dev, CI and agents from a copy of production. Xata runs each branch as its own Postgres instance on Kubernetes; DBLab keeps all clones on one machine. ClickHouse announced in November 2026 that it is acquiring Xata.

When Xata is the better choice​

  • Each branch is its own Postgres instance with its own compute that scales to zero when idle, about 1 second to wake on Xata Cloud and BYOC, so branches do not share one machine.
  • Anonymization is part of the copy: xata clone applies column transformers (deterministic, masking, templating) while it copies or streams production into Xata.
  • The copy can follow production: xata clone stream takes a snapshot, then keeps it in sync with logical replication.
  • A GitHub App creates a child branch for each pull request and deletes it when the pull request closes; GitHub Actions and Vercel preview flows are documented too.
  • Three ways to run it: Xata Cloud from $0.012 per hour plus $0.28 per GB-month, BYOC on your own Kubernetes, or the Apache 2.0 open-source platform for free.
The DBLab UI showing a clone that is ready to accept Postgres connections, created in 1.67 seconds, with its psql connection string.

What you get​

A clone in the DBLab UI, ready for connections 1.67 seconds after it was requested (a 2.7 GiB demo database). How it works

See how DBLab worksOpen the demoPricing

DBLab and Xata, side by side​

QuestionDBLabXata
What it isOpen-source software that gives every developer, CI job and AI agent a writable, full-size copy of a PostgreSQL database in seconds. Thin clones share one physical copy of the data on one machine. docsdocs 2A Postgres platform that "runs vanilla PostgreSQL with high-performance storage, isolation, and instant branching built in", with scale to zero and anonymization. Used for dev environments, preview deployments, CI and AI agents. 12
Which databases it can copyYesAny PostgreSQL from version 10 up, wherever it runs. Managed services such as Amazon RDS, Aurora, Cloud SQL and Supabase are copied with dump and restore; self-managed servers can also be copied physically with WAL-G, pgBackRest or pg_basebackup. docsdocs 2Yesxata clone copies any Postgres reachable by a postgres:// connection string into a Xata branch, then you branch from that copy. Xata names RDS, Aurora, Cloud SQL and self-hosted sources. xata clone stream keeps the copy in sync by logical replication. 4513
How a copy is madeCopy-on-write in the file system, with ZFS or LVM. Clones share unchanged blocks, so a clone takes extra disk space only for what it changes. docsCopy-on-write block storage: at branch time "no data blocks are copied"; blocks are copied only when written. Xata Cloud and BYOC use Xatastor storage; the open-source edition uses OpenEBS/Mayastor. Each branch runs as its own Postgres instance on Kubernetes (CloudNativePG). 237
Time to get a copyA few seconds whatever the database size: under 2 seconds for a 10 TiB database with one user, up to 30 seconds with 15 users at once. The first copy of the source is slow; about 1 TiB an hour is a good speed. docsdocs 2The branching docs say creation "completes in seconds even for terabyte-scale databases"; Xata's documentation summary says a child branch takes about three seconds. Scaled-to-zero branches wake in about 1 second on Xata Cloud and about 10 seconds in the open-source edition. 2133
Data in a copyYesThe whole database as of the chosen snapshot. Physical mode can follow the source continuously; logical mode is refreshed in full, on a schedule. docsdocs 2YesA child branch "contains the exact schema and data of its parent at the moment of creation". The first copy of an external database comes from xata clone, which can copy selected tables and mask columns on the way. 24
Masking sensitive dataYesDocumented options: load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. You define the rules. docsYesxata clone, built on pgstream, anonymizes data while it is copied or streamed, with per-column transformers that can be deterministic, mask values or use templates; custom ones can be written in Go. BYOC lists "Advanced (HIPAA)" anonymization. 653
CI and migration testingYesDB Migration Checker runs pending migrations on a clone in CI, fails those that hold dangerous locks longer than a limit (10 seconds by default) and collects statistics. Any CI job can also create clones through the API or CLI. docsYesA GitHub App creates a child branch from a configured root branch when a pull request opens and deletes it when it closes; it does not refresh the branch on each push. GitHub Actions workflows cover custom pull request flows, scheduled clones and bulk cleanup. 817
API, CLI and agent accessREST API, web UI and the dblab CLI. Joe, also available as pgai joe, returns EXPLAIN plans and timings from a clone, not rows. docsdocs 2docs 3Console, REST API, the open-source xata CLI (xata branch create --parent-branch, xata clone), and an MCP server whose run_sql tool is read-only by default; writes need write=true and confirm=true. 941110
Where it runsYesOn a machine you control, in any cloud or on-premises. DBLab SE installs from the PostgresAI Console or AWS Marketplace. docsdocs 2YesXata Cloud on AWS and GCP; BYOC, with the data plane on your Kubernetes in AWS, Azure, GCP, Hetzner or on-premises and the control plane in Xata's AWS account; or the open-source platform self-hosted on your own Kubernetes with Helm charts. 1137
Open sourceYesDBLab Engine is open source under Apache 2.0. docsYesThe xataio/xata platform (branch operator, SQL gateway, scale-to-zero plugin, CLI) is on GitHub under Apache 2.0. pgstream (replication) and pgroll (schema migrations) are separate Apache 2.0 projects. Xata Cloud and BYOC are paid offerings. 7121516
Documented limitsDBLab SE: 2,000 GiB per instance and a single user. All clones share one machine, and copy-on-write storage has different I/O performance, so timings on a clone should not be compared directly with production. docsdocs 2"The number of branches per project and the branch creation rate depend on your plan"; the docs give no numbers. Branch storage can only grow, up to 1024 Gi (1 TB). A minimal BYOC setup needs three Kubernetes nodes. 2911
What you pay forOne machine and one physical copy of the data, however many clones run. DBLab SE is billed hourly by the size of that machine, not by database size or number of clones. docsXata Cloud bills each running instance by the hour, from $0.012 (micro) to $1.536 (8xlarge), plus storage at $0.28 per GB-month, billed by the minute. Idle branches scale to zero. There are no per-branch, per-developer or per-database fees. 3

Pricing​

ProductPlanList priceNotes
DBLabDBLab EngineFreeOpen source, Apache 2.0; you run it
DBLabDBLab SEFrom $62/monthBilled hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user
DBLabDBLab EECustomAnnual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO
XataOpen SourceFreeApache 2.0; self-host on your own Kubernetes; community support 37
XataXata CloudFrom $0.012/hour plus $0.28/GB-month storageInstances from micro (1 GB RAM, $9/month) to 8xlarge (128 GB RAM, $1121/month); AWS and GCP; SOC 2 and GDPR; free trial 3
XataBYOCNo public pricePercentage of Xata managed cloud spend, estimate on request, with a minimum annual commitment; AWS, Azure and GCP; HIPAA anonymization, BAA 318

List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. Xata says there are no per-branch, per-developer or per-database fees; you pay for instances while they run and for storage. DBLab pricing

Questions​

Can Xata branch a database that stays on Amazon RDS?
Yes, through a copy. xata clone snapshots the RDS database into a Xata branch, optionally on a schedule, and xata clone stream keeps it current with logical replication. Branches are then made from that copy inside Xata; production stays on RDS. 4513
Is Xata open source?
Yes. The Xata platform (xataio/xata) is on GitHub under Apache 2.0 and runs on Kubernetes, built on CloudNativePG. Xata Cloud and BYOC are paid. pgstream and pgroll are separate Apache 2.0 projects from Xata. 71516
What does Xata cost?
The open-source edition is free. Xata Cloud starts at $0.012 per hour for a micro instance plus $0.28 per GB-month of storage, with no per-branch fees. BYOC is priced as a percentage of managed cloud spend, quoted on request. 3
What happened to Xata?
On November 9, 2026, ClickHouse announced it is acquiring Xata. The announcement says ClickHouse is still onboarding customers to Xata and plans to bring Xata's branching into ClickHouse Managed Postgres in the coming months. 14

Try a clone before you install anything​

The public demo runs DBLab Engine: open it with the token demo-token, create a clone and connect to it. DBLab Engine is open source, so the next step is a machine of your own.

See how DBLab worksOpen the demoPricing

Sources​

  1. Xata home page
  2. Xata docs: Branching
  3. Xata pricing
  4. Xata docs: Create a production clone
  5. Xata docs: Create streaming replica
  6. Xata docs: Data anonymization
  7. xataio/xata repository
  8. Xata docs: GitHub App
  9. Xata docs: Branches
  10. Xata docs: MCP server
  11. Xata docs: Deployment models
  12. Xata Core
  13. Xata documentation summary for LLMs
  14. ClickHouse blog: Managed Postgres GA and Xata acquisition
  15. pgroll repository
  16. pgstream repository
  17. Xata documentation index
  18. Xata pricing specification

These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners. Found a mistake? Tell us and we will correct the page.