Glossary
Concepts
Initial Setup
Peformance & Benchmark
Troubleshooting
FAQs
A:
When creating a ClickHouse database cluster with High Availability (HA) enabled, the service will automatically create replicas for each shard. However, to use the replication feature, users must create tables that support replication. For detailed information, refer to the official ClickHouse documentation on Replicated* table engines | ClickHouse Doc.
Replication is only supported for tables in the MergeTree family, which includes the following table types:
A:
Replication works at the table level, not at the server level. This means a single server can host both replicated and non-replicated tables at the same time.
A:
No. Replication is independent of sharding. Each shard manages its own replication mechanism separately from other shards.
For example, if you create a table using MergeTree (instead of ReplicatedMergeTree), the table will not be replicated, even if HA is enabled. Data will only be written to the node that receives the write request.