documentation/high-availability/overview.md
import { EnterpriseNote } from "@site/src/components/EnterpriseNote"
<EnterpriseNote> Replication provides high availability and disaster recovery for your QuestDB cluster. </EnterpriseNote>QuestDB Enterprise provides primary-replica replication for high availability and disaster recovery. Your data is automatically synced to replica instances via an object store, with no direct network connections required between nodes.
The primary instance writes data to a Write Ahead Log (WAL) and uploads these files to an object store (AWS S3, Azure Blob Storage, GCS, or NFS). Replica instances download and apply these files to stay in sync.
graph TD
primary[Primary]
objectStore[Object Store]
replica1[Replica 1]
replica2[Replica 2]
replicaN[Replica ..N]
primary --> objectStore
objectStore --> replica1
objectStore --> replica2
objectStore --> replicaN
This decoupled architecture means:
Hot availability - Run replicas continuously alongside the primary for instant failover. Faster recovery, higher cost.
Cold availability - Reconstruct a new primary from the latest snapshot and WAL files when needed. Slower recovery, lower cost.
| Store | Status |
|---|---|
| AWS S3 | Supported |
| Azure Blob Storage | Supported |
| Google Cloud Storage | Supported |
| NFS filesystem | Supported |
| HDFS | Planned |
Need something else? Contact us.
Replication works with WAL-enabled tables - tables that have a designated timestamp and are partitioned. This covers most time-series use cases.
Tables without timestamps (typically used for reference/lookup data) are not replicated automatically and should be populated separately on each instance.
QuestDB Enterprise can be self-managed or operated by QuestDB's team under the BYOC model.
With BYOC, QuestDB handles operations of all primary and replica instances on your infrastructure. Managed infrastructure uses standard cloud provider tools (CloudFormation for AWS, Lighthouse for Azure) and is fully owned and auditable by you.
Ready to set up replication? Continue to the Setup Guide.