Databases · head to head
Apache Doris vs etcd

Apache Doris
Databases
MPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables
- From
- Free
- Free plan
- Yes

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Apache Doris lists MySQL wire protocol; only etcd lists raft consensus.
How do Apache Doris and etcd differ?
Apache Doris and etcd differ on pricing model and platforms (Linux, Self-hosted against Web). Only the attributes on which Apache Doris and etcd actually diverge.
| Attribute | Apache Doris | etcd |
|---|---|---|
| Pricing model | Open source, no licence fee | Open-source |
| Platforms | Linux, Self-hosted | Web |
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Not yet recorded: founded for Apache Doris.
Which features does each one have?
They share no listed features; 8 appear only for Apache Doris and 8 only for etcd. 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 Apache Doris
- MySQL wire protocol
- Aggregate and unique key models
- Materialised views
- Multi-catalogue federation
- Routine load from Kafka
- Compute storage separation
- Inverted indexes
- Workload groups
Only in etcd
- Raft consensus
- Linearizable reads
- Transactions
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
What is each one used for?
etcd is most often brought in for coordinating failover in a clustered database, as Patroni does for PostgreSQL. The jobs each tool is most often brought in to do.
Apache Doris
- A team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speaknot etcd
- A real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent usersnot etcd
- An ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only OLAP engines handle badlynot etcd
- A data team that wants one SQL endpoint over both internal tables and existing Hive or Iceberg tables in the lakenot etcd
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot Apache Doris
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot Apache Doris
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot Apache Doris
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot Apache Doris
Where do Apache Doris and etcd fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Apache Doris
- Two competing commercial vendors, VeloDB and SelectDB, were founded by overlapping core contributors, which makes the long-term governance and roadmap of the project harder to predict than a single-sponsor project
- A large share of design discussion, issue reports and documentation detail originates in Chinese, so teams that do not read it get a thinner picture of known problems and workarounds
- Operating a cluster means managing frontend and backend node roles, tablet balancing and compaction tuning, and compaction backlogs under heavy upsert load are a recurring production complaint
- The MySQL protocol compatibility is at the wire level, not full MySQL semantics, so queries and functions still need porting and the familiarity can mislead
- Managed cloud availability outside China and major clouds is limited compared with ClickHouse or Snowflake, so many Western adopters end up self-hosting whether they wanted to or not
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
How much do Apache Doris and etcd cost?
Apache Doris is free to use; etcd is free to use. Plan by plan below, from each vendor's own pricing page.
Apache Doris
Free- Apache DorisFree
- Apache 2.0 licence with no usage restrictions
- All engine features included
- Community support via mailing list and Slack
etcd
FreeNo published plan breakdown. See the etcd review.
Which should you pick?
Choose Apache Doris if
- You need mysql wire protocol.
- You want to start without paying.
- You work on Linux, Self-hosted.
- You also want aggregate and unique key models.
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Questions people ask
- Is Apache Doris or etcd better?
- It depends on the job. Apache Doris fits a team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speak; etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing. Apache Doris starts at Free and etcd at Free.
- Which is cheaper, Apache Doris or etcd?
- Apache Doris starts at Free and etcd at Free.
- Does Apache Doris or etcd run on more platforms?
- Apache Doris runs on Linux, Self-hosted. etcd runs on Web.
- Can I use Apache Doris for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Apache Doris best used for?
- Apache Doris is most often used for a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak, a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users, an ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only olap engines handle badly, a data team that wants one sql endpoint over both internal tables and existing hive or iceberg tables in the lake. Of those, a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak and a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users are not what etcd is typically brought in for.
- What can Apache Doris do that etcd cannot?
- Apache Doris covers MySQL wire protocol, Aggregate and unique key models, Materialised views, Multi-catalogue federation. etcd covers Raft consensus, Linearizable reads, Transactions, Leases.
Answered from the vendors’ own pages
Apache Doris: Is Apache Doris really free?
Yes, it is Apache 2.0 with no usage restrictions. The commercial products are managed services from VeloDB and SelectDB.
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.
Apache Doris: Can I use my MySQL tools with it?
Yes, it implements the MySQL wire protocol, so clients and BI connectors attach without a new driver, though SQL semantics differ.
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.
Apache Doris: How does it compare with ClickHouse?
Doris handles updates and high concurrency more comfortably; ClickHouse is generally faster on raw single-query scan throughput and has far wider Western support.
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.
Apache Doris: Who maintains it?
The Apache Software Foundation project, with most committers employed by VeloDB or SelectDB.
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.
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.
Related pages
More on Apache Doris
Other head to heads
- Apache Doris vs StarRocks
- Apache Doris vs ClickHouse
- Apache Doris vs Snowflake
- Apache Doris vs Tinybird
- Apache Doris vs DuckDB
- Apache Doris vs Firebolt
- Apache Doris vs Amazon Redshift
- Apache Doris vs TiDB
- Apache Doris vs Trino
- Apache Doris vs Solace PubSub+
- Apache Doris vs BigQuery
- Apache Doris vs Dragonfly
- Apache Doris vs Memcached
- Apache Doris vs Milvus
- Apache Doris vs Neo4j
- Apache Doris vs Typesense
- Apache Doris vs Estuary
- Apache Doris vs Firebase Realtime Database
- Apache Doris vs Redis
- Apache Doris vs Valkey
- Apache Doris vs DynamoDB
- Apache Doris vs Timeplus
- Apache Doris vs Knack
- Apache Doris vs Turso
- Apache Doris vs Dgraph
- Apache Doris vs turbopuffer
- Apache Doris vs Apache HBase
- Apache Doris vs Aiven
- Apache Doris vs Meilisearch
- Apache Doris vs Apache Airflow
- Apache Doris vs Apache Pulsar
- Apache Doris vs Cassandra
- etcd vs StarRocks
- etcd vs ClickHouse
- etcd vs Snowflake
- etcd vs Tinybird
- etcd vs DuckDB
- etcd vs Firebolt
- etcd vs Amazon Redshift
- etcd vs TiDB
- etcd vs Trino
- etcd vs Solace PubSub+
- etcd vs BigQuery
- etcd vs Dragonfly
- etcd vs Memcached
- etcd vs Milvus
- etcd vs Neo4j
- etcd vs Typesense
- etcd vs Estuary
- etcd vs Firebase Realtime Database
- etcd vs Redis
- etcd vs Valkey
- etcd vs DynamoDB
- etcd vs Timeplus
- etcd vs Knack
- etcd vs Turso
- etcd vs Dgraph
- etcd vs turbopuffer
- etcd vs Apache HBase
- etcd vs Aiven
- etcd vs Meilisearch
- etcd vs Apache Airflow
- etcd vs Apache Pulsar
- etcd vs Cassandra
