Disk types in Managed Service for Redis
Managed Service for Redis allows you to use network and local storage drives for database clusters. Network drives are based on network blocks, which are virtual disks in the Yandex Cloud infrastructure. Local disks are physically located on the database host servers.
When creating a cluster, you can select the following disk types for data storage:
-
Network SSD storage (
network-ssd
): Balanced solution. Such disks are slower than local SSD storage, but, unlike local disks, they ensure data integrity in case Yandex Cloud hardware goes down. -
Non-replicated SSD storage (
network-ssd-nonreplicated
): Network SSD storage with enhanced performance but without redundancy.This disk type is only available for Intel Cascade Lake and Intel Ice Lake. For a list of host classes and their respective platforms, see Redis host classes.
The storage size can only be increased in 93 GB increments.
-
Local SSDs (
local-ssd
): Disks with the fastest performance.The size of such a storage can be increased:
- For Intel Broadwell and Intel Cascade Lake: Only in 100 GB increments.
- For Intel Ice Lake: In 368 GB increments only.
For a list of host classes and their respective platforms, see Redis host classes.
Note
For clusters with hosts residing in the
ru-central1-d
availability zone, local SSD storage is not available if using the Intel Cascade Lake platform.
Selecting the disk type during cluster creation
The number of hosts you can create together with a Redis cluster depends on the disk type you select and whether you enabled sharding:
Disk type | Non-sharded clusters | Sharded clusters |
---|---|---|
Network SSD storage (network-ssd ) |
1 host or more | 1 host or more (1 shard × 1 host) |
Local SSD storage (local-ssd ) |
3 hosts or more | 2 hosts or more (1 shard × 2 hosts) |
Non-replicated SSD storage (network-ssd-nonreplicated ) |
3 hosts or more | 3 hosts or more (1 shard × 3 hosts) |
Sharded clusters with the local-ssd disk type and only one host per shard are not considered fault-tolerant. You cannot create such a cluster.
For more information about limits on the number of hosts per cluster or shard, see Quotas and limits.