High Availability
On this page
SingleStore is highly available by default.
The primary partitions are distributed evenly on nodes across the workspace.
In the event of a node failure, SingleStore automatically promotes the appropriate replica partitions on the node’s pair into primary partitions, so that the databases remain online.
The following diagrams illustrate the partition distribution before and after a workspace failover.db_ has a replica on Node 2, while db_ has a replica on Node 4.
If Node 1 fails in this setup, SingleStore promotes the replica of db_ on Node 2 to primary and the replica of db_ on Node 4 to primary.
When a node comes back online, it will be automatically reintroduced to the workspace.
In SingleStore Helios, one load balancer is set up for the Master Aggregator (MA) and then a second load balancer for the child aggregators (CAs).
Note: In AWS, the Network Load Balancer (NLB) works better than the classic Elastic Load Balancing (ELB).
Availability Zone (AZ)
An availability zone (AZ) is a data center with its own power, cooling, and network connections.
Single and Multi-AZ High Availability
High availability is supported in Single-AZ and Multi-AZ configurations, which determine whether SingleStore is deployed in one or multiple cloud availability zones.
-
Single-AZ: By default, SingleStore is deployed with high availability in a single cloud availability zone, providing data redundancy and automatic recovery from cloud instance failures within that zone.
-
Multi-AZ: When enabled, Multi-AZ deploys SingleStore across multiple cloud availability zones, with each availability group placed in a separate zone.
This makes data resilient to both cloud instance failures and the loss of an entire availability zone.
Last modified: