Databases · head to head
etcd vs Xata

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- On request
- Free plan
- No

Xata
Databases
Apache 2.0 platform for running many Postgres instances on Kubernetes, with copy-on-write branching and scale-to-zero.
- From
- Free
- Free plan
- Yes
The short version
- Xata starts at $1/mo; etcd prices on request.
- Only etcd lists raft consensus; only Xata lists copy-on-write branching.
- Prices and features on this page were last checked on 13 November 2026.
Where they differ
Only the attributes on which etcd and Xata actually diverge.
Identical on both: platforms (Web), category (Databases).
What each one covers
Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in etcd
- Raft consensus
- Linearizable reads
- Transactions
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
Only in Xata
- Copy-on-write branching
- Scale-to-zero compute
- Compute autoscaling and bin-packing
- High availability with failover
- Point-in-time recovery
- Serverless driver
- pgroll migrations
- pgstream replication
What people use each for
The jobs each tool is most often brought in to do.
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot Xata
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot Xata
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot Xata
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot Xata
Xata
- Giving every pull request or coding agent its own branch of the production database, with real data volumes rather than a seeded fixturenot etcd
- Running managed-Postgres economics in your own cloud account where data residency or compliance rules out a third-party control planenot etcd
- Consolidating many small, mostly idle Postgres databases onto shared infrastructure where scale-to-zero and bin-packing recover the idle costnot etcd
- Testing a destructive migration against a copy of production without waiting for a full restore or paying for a duplicate of the storagenot etcd
Where each one falls short
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
etcd
- It is sized for coordination data, not application data: the default backend quota is 2 GB and 8 GB is the documented recommended maximum, and exceeding it puts the cluster into a NOSPACE alarm where it accepts no writes until an operator compacts, defragments and clears the alarm by hand
- Every write is replicated and fsynced before acknowledgement, so cluster performance is bounded by the slowest disk in it; a member on network-attached storage with high fsync latency causes leader elections and cluster-wide latency spikes that look like network problems and are not
- Adding members increases availability but reduces write throughput, because each write must reach a larger quorum; you run three or five members for fault tolerance, and increasing capacity means faster hardware rather than more nodes
- There is no sharding and no multi-tenancy, so isolating workloads means running separate clusters, each with its own quorum, certificates, backup schedule and upgrade path, and that operational multiplication is often unexpected
- Running it yourself is a real job: periodic compaction and defragmentation, snapshot backups you have actually rehearsed restoring, and rotation of both peer and client TLS certificates, none of which happens automatically outside a managed Kubernetes service
- Losing quorum is not self-healing; recovering a cluster that has lost a majority means restoring from a snapshot and accepting that everything written since that snapshot is gone, which makes backup frequency a data-loss budget decision rather than a routine setting
Xata
- Self-hosting means operating Kubernetes and CloudNativePG, so the Apache 2.0 licence removes the vendor bill but replaces it with a platform team, and a database platform is not something a part-time operator maintains safely
- Copy-on-write branches are cheap to create but diverge as they are written to, so a long-lived branch carrying a heavy backfill quietly accumulates real storage and the cost arrives later than the decision that caused it
- Scale-to-zero means the first connection after an idle period pays a cold start, which is invisible in a busy production database and very visible in a demo, a staging environment or a cron job that runs once an hour
- The Xata sold before 2025 was a different product, a proprietary API and SDK layered over Postgres, so tutorials, blog posts and SDK examples from that era describe something that no longer exists and existing users had to migrate
- As a managed service it competes with RDS, Aurora and Cloud SQL, and it is a much smaller company, so procurement, certification coverage and the depth of the support bench behind a 3am corruption incident are all weaker than the incumbent even though the underlying Postgres is the same
Pricing, plan by plan
etcd
On requestNo published plan breakdown. See the etcd review.
Xata
Free- Free TrialFree
- 14 days free
- No credit card required
- Usage-Based$1
- 1,000 branches for $1
- Scale-to-zero compute model
- Branches hibernate when idle
Which should you pick?
Choose Xata if
- You need copy-on-write branching.
- You want to start without paying.
- You also want scale-to-zero compute.
Questions people ask
- Is etcd or Xata better?
- Neither clearly leads. etcd starts at On request and Xata at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, etcd or Xata?
- Xata has a free tier; the other does not. Paid plans start at On request for etcd and Free for Xata.
- Does etcd or Xata run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Xata for free?
- Yes. Xata has a free tier, so you can try it without paying. etcd starts at On request.
- What is etcd best used for?
- etcd is most often used for storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing, leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions, service discovery and dynamic configuration where readers need to be notified of changes rather than poll for them, coordinating failover in a clustered database, as patroni does for postgresql. Of those, storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing and leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions are not what Xata is typically brought in for.
- What can etcd do that Xata cannot?
- etcd covers Raft consensus, Linearizable reads, Transactions, Leases. Xata covers Copy-on-write branching, Scale-to-zero compute, Compute autoscaling and bin-packing, High availability with failover.
Answered from the vendors’ own pages
etcd: Can I use etcd as an application database?
No. It is designed for metadata and coordination, with a recommended maximum store size of around 8 GB, no sharding and a write path deliberately optimised for durability rather than throughput. Application data belongs in a database built for it.
Xata: Is it real Postgres or a compatible reimplementation?
Real Postgres. It runs upstream Postgres instances on Kubernetes via CloudNativePG, so extensions, the wire protocol and version upgrades behave as they do anywhere else.
etcd: How many members should a cluster have?
Three for most cases, five where you need to survive two simultaneous failures. Always an odd number, because an even-sized cluster gains no additional fault tolerance while making quorum harder to reach.
Xata: Can I self-host the whole thing?
Yes. The platform is Apache 2.0 and designed for self-hosting a large number of Postgres instances on your own Kubernetes. Xata Cloud is the same platform run as a service.
etcd: What happens when the store fills up?
The cluster raises a NOSPACE alarm and stops accepting writes, becoming effectively read-only. Recovery requires compacting old revisions, defragmenting each member and then explicitly disarming the alarm, all done by an operator.
Xata: Does branching copy my data?
No. Branches are copy-on-write at the storage layer, so creating one is near-instant regardless of database size and storage is only consumed as the branch diverges from its parent.
etcd: Why is my etcd cluster slow or unstable?
Almost always disk latency. Because every write is fsynced before acknowledgement, slow or shared storage causes heartbeat timeouts, leader elections and cascading latency. Local SSDs with low fsync latency are effectively a requirement.
Xata: Is this the same Xata I used a couple of years ago?
No. The earlier product was a proprietary database API with its own SDK and search layer. The current product is a Postgres platform, and material written for the old one does not apply.
etcd: How does it compare with Consul or ZooKeeper?
All three provide consensus-backed coordination. etcd has the simplest data model and the Kubernetes ecosystem behind it; Consul bundles service discovery, health checking and a service mesh; ZooKeeper is older, JVM-based and still common under Kafka and Hadoop-era systems.
Xata: What happens to a branch when the parent changes?
A branch is a point-in-time fork. Later changes on the parent are not propagated, so long-lived branches drift and need to be recreated rather than refreshed if you want current data.
Related pages
Other head to heads
- etcd vs DynamoDB
- etcd vs Timeplus
- etcd vs Firebase Realtime Database
- etcd vs Knack
- etcd vs Turso
- etcd vs BigQuery
- etcd vs TiDB
- etcd vs Dgraph
- etcd vs turbopuffer
- etcd vs Apache Kafka
- etcd vs Redis
- etcd vs Fivetran HVR
- etcd vs Grist
- etcd vs IBM Db2
- etcd vs Instaclustr
- etcd vs LanceDB
- etcd vs Marqo
- etcd vs Apache Airflow
- etcd vs Amazon Aurora
- etcd vs PostgreSQL
- etcd vs DuckDB
- etcd vs Trino
- etcd vs Convex
- etcd vs PlanetScale
- etcd vs Apache Druid
- etcd vs Materialize
- etcd vs Apache Pulsar
- Xata vs DynamoDB
- Xata vs Timeplus
- Xata vs Firebase Realtime Database
- Xata vs Knack
- Xata vs Turso
- Xata vs BigQuery
- Xata vs TiDB
- Xata vs Dgraph
- Xata vs turbopuffer
- Xata vs Apache Kafka
- Xata vs Redis
- Xata vs Fivetran HVR
- Xata vs Grist
- Xata vs IBM Db2
- Xata vs Instaclustr
- Xata vs LanceDB
- Xata vs Marqo
- Xata vs Apache Airflow
- Xata vs Amazon Aurora
- Xata vs PostgreSQL
- Xata vs DuckDB
- Xata vs Trino
- Xata vs Convex
- Xata vs PlanetScale
- Xata vs Apache Druid
- Xata vs Materialize
- Xata vs Apache Pulsar
