Storage in Yandex Managed Service for Sharded PostgreSQL
With Managed Service for Sharded PostgreSQL, you can use network storage drives to set up your cluster storage. Network drives are based on network blocks, which are virtual disks in the Yandex Cloud infrastructure.
Your storage can use the following disk types:
-
Network HDD (
network-hdd): Standard network drive; HDD network block storage. -
Network SSD (
network-ssd): Fast network drive; SSD network block storage.
Note
Up to 5% of disk space is reserved for system use, so the disks may have less available space than indicated when creating a cluster.
For more information about sizes and performance of different disk types, see the Yandex Compute Cloud documentation.
In Managed Service for Sharded PostgreSQL, the number of hosts you can create together with a cluster depends on the sharding type rather than on the selected disk type:
-
Standard sharding: One to seven
INFRAhosts. To ensure that your cluster is fault-tolerant, we recommend creating at least threeINFRAhosts in different availability zones. -
Advanced sharding:
- At least one
ROUTERhost. The maximum number ofROUTERhosts is not limited. - At least five
COORDINATORhosts. To ensure that such a cluster is fault-tolerant, we recommend creating threeCOORDINATORhosts in different availability zones.
- At least one