Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for PostgreSQL
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Connection
    • Updating a cluster
    • Cluster configuration
    • Moving and restoring a cluster
    • Users and roles
    • High availability and load balancing
    • Monitoring and logs
    • Error messages
    • All questions on one page
  1. FAQ
  2. General questions

General questions about Managed Service for PostgreSQL

Written by
Yandex Cloud
Updated at November 1, 2025
  • What is Managed Service for PostgreSQL?

  • What part of database management and maintenance is Managed Service for PostgreSQL responsible for?

  • Which tasks are best addressed using Managed Service for PostgreSQL, and which using VMs with databases?

  • What is a database host and database cluster?

  • How do I get started with Managed Service for PostgreSQL?

  • How many database hosts can there be in one cluster?

  • How can I access a running DB host?

  • How many clusters can I create within a single cloud?

  • How are DB clusters maintained?

  • Which PostgreSQL version does Managed Service for PostgreSQL use?

  • What happens when a new DBMS version is released?

  • What happens when a DBMS version becomes deprecated?

  • How do you calculate usage cost for a database host?

  • How can I change the computing resources and storage size for a database cluster?

  • Can I configure auto increase of cluster storage size?

  • Is database host backup enabled by default?

  • When are backups performed? Is a database cluster available during a backup?

  • Are PostgreSQL database cluster connections encrypted?

  • What is a read-only replica in PostgreSQL?

  • What metrics and processes can be tracked using monitoring?

  • How do I get the logs of my actions in the services?

  • What limitations are imposed on PostgreSQL database clusters?

  • What PostgreSQL extensions are supported in Managed Service for PostgreSQL?

  • Which data center stores PostgreSQL cluster backups?

  • Does the service comply with the Russian Federal Law 152-FZ on personal data?

  • Can I get superuser privileges in PostgreSQL?

  • Can I copy data from a Managed Service for PostgreSQL table to a local file? Can I populate a table with data from a local file?

  • Are there any special aspects or restrictions on the use of a garbage collector in Managed Service for PostgreSQL clusters?

  • Why is the cluster slow even though the computing resources are not used fully?

What is Managed Service for PostgreSQL?What is Managed Service for PostgreSQL?

Managed Service for PostgreSQL is a solution that helps you create, operate, and scale PostgreSQL databases in the cloud.

With Managed Service for PostgreSQL, you can:

  • Create a database with the performance parameters tailored to your needs.
  • Scale computing power and dedicated storage capacity for your databases as needed.
  • Get database logs.

Managed Service for PostgreSQL takes over time-consuming PostgreSQL infrastructure administration tasks:

  • Monitors resource usage.
  • Automatically creates DB backups.
  • Provides fault tolerance through automatic failover to backup replicas.
  • Keeps database software updated.

You work with a Managed Service for PostgreSQL database cluster as if it were a regular database in your local infrastructure This allows you to manage internal database settings to meet your app requirements.

What is Managed Service for PostgreSQL's share of database management and maintenance work?What is Managed Service for PostgreSQL's share of database management and maintenance work?

When you create clusters, Managed Service for PostgreSQL allocates resources, installs the DBMS, and creates databases.

For all created and running databases, Managed Service for PostgreSQL automatically creates backups and applies fixes and updates.

Managed Service for PostgreSQL also enables data replication between database hosts (both within and across availability zones) and automatically fails over to a backup replica if a failure occurs.

Be mindful of what is what is controlled by the service, and what by the Yandex Cloud customer. Understanding these control zones will help you use your cloud resources effectively and avoid potential database-related problems. For more information, see Zones of control between managed database (MDB) service users and Yandex Cloud.

Not sure whether to use Managed Service for PostgreSQL or VMs running databases?Not sure whether to use Managed Service for PostgreSQL or VMs running databases?

Yandex Cloud offers two ways to work with databases:

  • Managed Service for PostgreSQL: Enables you to operate template databases without needing to manage their administration.
  • Yandex Compute Cloud VM: Enables you to create and configure your own databases. With this approach, you can use any database management systems, access databases via SSH, and more.

What is a database host and database cluster?What is a database host and database cluster?

A database host is an isolated database environment in the cloud with dedicated computing resources and reserved storage capacity.

A database cluster is one or more database hosts with the option to configure replication.

How do I get started with Managed Service for PostgreSQL?How do I get started with Managed Service for PostgreSQL?

Managed Service for PostgreSQL is available to all registered Yandex Cloud users.

To create a database cluster in Managed Service for PostgreSQL, you need to define its settings:

  • Host class (performance parameters, such as CPUs, RAM, etc.).
  • Storage size (fully reserved when creating the cluster).
  • Network your cluster will be connected to.
  • Number of hosts for your cluster and availability zone for each host.

For detailed instructions, see Getting started with Managed Service for PostgreSQL.

How many database hosts does a cluster support?How many database hosts does a cluster support?

The minimum number of hosts depends on the selected type of storage:

  • A minimum of three hosts for these disks:

    • Local SSDs (local-ssd)
    • Non-replicated SSDs (network-ssd-nonreplicated)
  • A minimum of one host for these disks:

    • Network HDDs (network-hdd)
    • Network SSDs (network-ssd)
    • Ultra high-speed network SSDs with three replicas (network-ssd-io-m3)

The maximum number of hosts per cluster cannot exceed the set limits.

For more information, see Quotas and limits in Managed Service for PostgreSQL.

How can I access a running DB host?How can I access a running DB host?

You can connect to Managed Service for PostgreSQL databases using standard DBMS methods.

Learn more about connecting to clusters here.

How many clusters can I create within a single cloud?How many clusters can I create within a single cloud?

MDB technical and organizational limits are given in Quotas and limits in Managed Service for PostgreSQL.

How are DB clusters maintained?How are DB clusters maintained?

In Managed Service for PostgreSQL, maintenance implies:

  • Automatic installation of DBMS updates and fixes for DB hosts (including disabled clusters).
  • Changes to the host class and storage size.
  • Other Managed Service for PostgreSQL maintenance activities.

For more information, see Maintenance in Managed Service for PostgreSQL.

Which PostgreSQL version does Managed Service for PostgreSQL use?Which PostgreSQL version does Managed Service for PostgreSQL use?

Managed Service for PostgreSQL supports PostgreSQL 13, 14, 15, 16, and 17, as well as PostgreSQL 13, 14, 15, and 16 for 1C.

What happens when a new DBMS version is released?What happens when a new DBMS version is released?

The database software is updated when new minor versions are released. Owners of the affected DB clusters are notified of an expected maintenance period and DB availability in advance.

What happens when a DBMS version becomes deprecated?What happens when a DBMS version becomes deprecated?

One month after the database version becomes deprecated, Managed Service for PostgreSQL automatically sends email notifications to the owners of DB clusters created with this version.

New hosts can no longer be created using deprecated DBMS versions. Database clusters are automatically upgraded to the next supported version seven days after notification for minor versions and one month after notification for major versions. Deprecated major versions are going to be upgraded even if you have disabled automatic updates.

How do you calculate usage cost for a database host?How do you calculate usage cost for a database host?

In Managed Service for PostgreSQL, the usage cost is calculated based on the following:

  • Selected host class.
  • Size of the storage reserved for the database host.
  • Size of the database cluster backups. Backup size equal to the storage size is free of charge. Backup storage that exceeds this size is charged based on the pricing policy.
  • Database host uptime in hours. Partial hours are rounded up to the nearest whole hour. To find out the cost per hour of operation for each host class, see Managed Service for PostgreSQL pricing policy.

How can I change the computing resources and storage size for a database cluster?How can I change the computing resources and storage size for a database cluster?

You can change computing resources and storage size in the management console. All you need to do is choose a different host class for the relevant cluster.

The cluster settings update within 30 minutes. This period may also include other cluster maintenance activities, such as installing updates.

Can I configure auto increase of cluster storage size?Can I configure auto increase of cluster storage size?

Yes, you can set up automatic increase of the storage size when creating or updating a cluster.

Is database host backup enabled by default?Is database host backup enabled by default?

Yes, backup is enabled by default. For PostgreSQL, a full backup takes place once a day and saves all DB cluster transaction logs. This allows you to restore the cluster state to any point in time during the backup storage period, except for the last 30 seconds.

By default, backups are stored for seven days.

When are backups created? Is a database cluster available during backup?When are backups created? Is a database cluster available during backup?

The backup window is an interval during which a full daily backup of the DB cluster is performed. The backup window is from 01:00 to 05:00 (UTC+3).

Clusters remain fully accessible during the backup window.

Are PostgreSQL DB cluster connections encrypted?Are PostgreSQL DB cluster connections encrypted?

Connections between a database cluster and an application are always encrypted using SSL. You cannot disable cluster connection encryption.

What is a read-only replica in PostgreSQL?What is a read-only replica in PostgreSQL?

A read-only replica is a PostgreSQL DB cluster host available only for reads. Its data is synced with the master host (applies only if the cluster has more than 1 host). You can use a read-only replica to reduce the load on the DB master host with a large number of read requests.

What metrics and processes can be monitored?What metrics and processes can be monitored?

For all DBMS types, you can monitor:

  • CPU, memory, network, or disk usage, in absolute terms.
  • Amount of data in the DB cluster and the remaining free space in the data storage.

For DB hosts, you can monitor metrics specific to their type of DBMS. For example, for PostgreSQL, you can monitor:

  • Average query execution time.
  • Number of queries per second.
  • Number of errors in logs, and more.

Monitoring can be performed with a minimum granularity of five seconds.

Can I get logs of my operations in Yandex Cloud?Can I get logs of my operations in Yandex Cloud?

Yes, you can request information about operations with your resources from Yandex Cloud logs. Do it by contacting support.

What limitations are there for PostgreSQL database clusters?What limitations are there for PostgreSQL database clusters?

For more information about Managed Service for PostgreSQL limitations, see Quotas and limits in Managed Service for PostgreSQL. Characteristics of clusters that can be created using Managed Service for PostgreSQL are given in PostgreSQL host classes.

What PostgreSQL extensions are supported in Managed Service for PostgreSQL?What PostgreSQL extensions are supported in Managed Service for PostgreSQL?

The list of supported PostgreSQL extensions is provided in Managing extensions.

Which data center stores PostgreSQL cluster backups?Which data center stores PostgreSQL cluster backups?

Cluster backups are stored and available in all three data centers.

Does the service meet the requirements of the Russian Federation Federal Law 152-FZ on personal data?Does the service meet the requirements of the Russian Federation Federal Law 152-FZ on personal data?

Yes, it does. You can read the full security audit conclusion here.

Can I get superuser privileges in PostgreSQL?Can I get superuser privileges in PostgreSQL?

No, you cannot. Superuser privileges are not available to Managed Service for PostgreSQL users. The highest privileges for working with clusters are granted to users with the mdb_admin and mdb_superuser roles.

Can I copy data from a Managed Service for PostgreSQL table to a local file? Can I populate a table with data from a local file?Can I copy data from a Managed Service for PostgreSQL table to a local file? Can I populate a table with data from a local file?

Yes, you can both copy data from a table to a local file and populate a table with data from a local file. For more information, see Copying and populating a table from a local machine.

Are there any special aspects or restrictions on the use of a garbage collector in Managed Service for PostgreSQL clusters?Are there any special aspects or restrictions on the use of a garbage collector in Managed Service for PostgreSQL clusters?

Managed Service for PostgreSQL clusters support all parameters of the VACUUM command. However, you should consider the following specifics when using them:

  • To run VACUUM FULL, the user must have the mdb_admin role. The VACUUM FULL command does not affect system views.
  • In PostgreSQL version 14, the INDEX_CLEANUP parameter functionality has been enhanced: it now has the AUTO value by default. This means the VACUUM command skips index cleaning if it considers it unnecessary. To ensure backward compatibility with the previous PostgreSQL versions, set INDEX_CLEANUP to ON.

Why is my cluster slow even though there are still some computing resources to spare?Why is my cluster slow even though there are still some computing resources to spare?

Your storage may have insufficient maximum IOPS and bandwidth to process the current number of requests. In this case, throttling occurs, which degrades the entire cluster performance.

The maximum IOPS and bandwidth values increase by a fixed value when the storage size increases by a certain step. The step and increment values depend on the disk type:

Disk type Step, GB Max IOPS increase (read/write) Max bandwidth increase (read/write), MB/s
network-hdd 256 300/300 30/30
network-ssd 32 1,000/1,000 15/15
network-ssd-nonreplicated, network-ssd-io-m3 93 28,000/5,600 110/82

To increase the maximum IOPS and bandwidth values and make throttling less likely, increase the storage size when updating your cluster.

If you are using the network-hdd storage type, consider switching to network-ssd or network-ssd-nonreplicated by restoring the cluster from a backup.

Was the article helpful?

Previous
Release notes
Next
Connection
© 2025 Direct Cursus Technology L.L.C.