Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for MongoDB
  • Getting started
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Questions about MongoDB
    • All questions on a single page
  1. FAQ
  2. Questions about MongoDB

Questions about MongoDB

Written by
Yandex Cloud
Updated at January 23, 2025
  • Why should I use MongoDB in Managed Service for MongoDB rather than my own VM-based installation?

  • What happens to a cluster if one of its hosts fails?

  • Can I deploy a MongoDB cluster in multiple availability zones?

  • What is the backup procedure for MongoDB clusters?

  • How does replication work for MongoDB?

  • What limitations do MongoDB clusters have?

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

  • How do I get access to the local.oplog.rs service collection?

  • Can I connect to cluster hosts via SSH or get superuser permissions on hosts?

  • What do I do if I get the revocation check error when using PowerShell to obtain an SSL certificate?

Why should I use MongoDB in Managed Service for MongoDB rather than my own VM-based installation?Why should I use MongoDB in Managed Service for MongoDB rather than my own VM-based installation?

Managed Service for MongoDB automates routine database maintenance:

  • Quick DB deployment with the necessary available resources.
  • Data backup.
  • Regular software updates.
  • Providing DB cluster failover.
  • Database usage monitoring and statistics.

What happens to a cluster if one of its hosts fails?What happens to a cluster if one of its hosts fails?

If there are more than one replica in the database cluster, it will continue working if a host fails.

The only way data may be lost is if the cluster's only host fails.

Can I deploy a MongoDB cluster in multiple availability zones?Can I deploy a MongoDB cluster in multiple availability zones?

Yes. A database cluster may consist of hosts that reside in different availability zones and even different availability regions.

What is the backup procedure for MongoDB clusters?What is the backup procedure for MongoDB clusters?

Backups are created every 24 hours and stored for seven days after being created. You can restore data only as of the backup creation time.

How does replication work for MongoDB?How does replication work for MongoDB?

Managed Service for MongoDB uses the standard MongoDB replication mechanism: if a cluster has more than one active host, one of them is automatically selected as the primary server to handle write requests.

For more information about how replication works in MongoDB, read the relevant documentation.

What limitations are imposed on MongoDB database clusters?What limitations are imposed on MongoDB database clusters?

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

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

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 you update 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.

How do I get access to the local.oplog.rs service collection?How do I get access to the local.oplog.rs service collection?

To grant a user read access to oplog, assign them the mdbReplication role in the admin database. To do this, run the following command in the Yandex Cloud CLI:

yc managed-mongodb user update <username> \
  --cluster-name <cluster_name> \
  --permission database=admin,role=mdbReplication,role=<other_role>,... \
  --permission database=<other_DB_name>,role=<role>,...

To avoid deleting user roles that are already assigned, list both the existing and new roles in the command.

Can I connect to cluster hosts via SSH or get superuser permissions on hosts?Can I connect to cluster hosts via SSH or get superuser permissions on hosts?

You cannot connect to hosts via SSH. This is done for the sake of security and user cluster fault tolerance because direct changes inside a host can render it completely inoperable.

What do I do if I get the revocation check error when using PowerShell to obtain an SSL certificate?What do I do if I get the revocation check error when using PowerShell to obtain an SSL certificate?

Here is the full text of the error:

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012)
The revocation function was unable to check revocation for the certificate

This means, when connecting to the website, the service failed to check whether or not the website’s certificate is on the list of revoked certificates.

To fix this error:

  • Make sure the corporate network settings do not block the check.

  • Run the command with the --ssl-no-revoke parameter.

     mkdir $HOME\.mongodb; curl.exe --ssl-no-revoke -o $HOME\.mongodb\root.crt https://storage.yandexcloud.net/cloud-certs/CA.pem
    

Was the article helpful?

Previous
General questions
Next
All questions on a single page
© 2025 Direct Cursus Technology L.L.C.