Managed Service for PostgreSQL lets you use network and local storage for database clusters. Network storage is based on network blocks, which are virtual disks in the Yandex.Cloud infrastructure. Local storage is organized on disks that are physically located in the database host servers.
During cluster creation you can choose between the following storage types:
- Standard network storage (
network-hdd) — the cheapest option, for clusters with moderate requirements to IOPS.
- Fast network storage (
network-ssd) — a compromise option: slower than local storage, but, as opposed to local disks, guarantees data safety when Cloud servers are out of commission.
- Fast local storage (
local-ssd) — the fastest option. Local storage can only be increased in 100 GB intervals.
Local storage does not provide fault tolerance: if a local disk fails, data is permanently lost. Therefore, when creating a new Managed Service for PostgreSQL cluster using local storage, a 3-host fail-safe configuration is automatically set up.