FAQ

The following are a few FAQ to provide insight into the MongoDB product.

Fundamentals

What is IONOS Cloud MongoDB?

IONOS Cloud provides a managed, cloud-native MongoDB service hosted in IONOS data centers. You can quickly deploy single-node or replica-set clusters with built-in backups and flexible, manually triggered scaling so that you can focus on your applications rather than database operations.

Do I need to install anything to use MongoDB?

No. You can manage MongoDB databases in the Data Center Designer or through the APIarrow-up-right. To connect, use a MongoDB client such as mongosh, MongoDB Compass, or an application driver.

Which versions of MongoDB are available?

Versions 6.0 and 7.0 are supported. Select the version when you create a cluster.

On what server instances is MongoDB offered?

MongoDB Business works on Cubes, and MongoDB Enterprise works on Dedicated Core Servers.

As a managed service, which services are handled by IONOS Cloud?

IONOS Cloud automates the routine, time-consuming tasks required to keep your database secure and available. The following are the services managed by IONOS Cloud:

  • Provisioning: Supports instant deployment of database instances without manual hardware or Operating System (OS) setup.

  • Backups: Automated recovery points to protect your data against loss.

  • Patching: Provides seamless updates for the underlying operating system and database engine to ensure security and stability.

What service management areas are the user responsible for within MongoDB’s managed service model?

To provide you with maximum control over your environment and costs, the following services remain under user management:

  • Scaling: While IONOS Cloud provides the infrastructure to scale your resources upward or downward, scaling is not automatic. You are responsible for triggering vertical or horizontal scaling actions based on your specific performance requirements and manually initiating the scaling.

  • Flexibility: You can manage costs and resource allocation precisely based on your project's lifecycle.

  • Monitoring: We provide the data; you provide the oversight. To help you track the health of your clusters, we offer dedicated integration paths. With our integrated Monitoring as a Service (MaaS), you can Monitor MongoDB Databasesarrow-up-right.

What is the pricing model for MongoDB?

Pricing depends on the selected Editions and Sizing and varies by contract region. For more information, see Pricesarrow-up-right.

Provisioning and Configuration

Can I modify the cluster edition after creation?

Yes. You can upgrade a cluster to MongoDB Business or MongoDB Enterprise in the DCD or via the APIarrow-up-right. Downgrading the instance type is not supported.

Can the instance configuration be changed after the cluster is created?

Yes. Depending on the workload size, select the starting configuration by edition. You can update the instances as needed to a higher capacity by using the guidance in Editions.

Selecting the proper storage is critical for balancing performance and cost. For IONOS DBaaS, your choice depends on the database engine and your workload characteristics, such as read-heavy versus write-heavy actions.

Storage Type

Performance Level

Recommended Use Case

Highest (Guaranteed)

Production Databases. Ideal for critical workloads like MongoDB Business and MongoDB Enterprise or PostgreSQL clusters that require low latency and 100% guaranteed IOPS per instance.

SSD Standard

Balanced

Development and staging environments. A high-speed, cost-efficient alternative to HDD for applications with moderate traffic, such as CRM systems, data analysis, or merchandise management.

Cost-Optimized

Archival and large datasets. Best for massive volumes of data with infrequent access, long-term backups, or batch workloads where latency is not a priority.

Backup and Recovery

What backup methods are supported?

The service creates automated daily snapshots for all deployments across all projects. Backups are retained for seven days. If you delete a database, its backups are also deleted.

How are backups managed?

MongoDB clusters can have multiple snapshots, which serve as backups of the cluster's data. Each snapshot is retained for seven days, providing recovery within one week of the snapshot date. For more information, see Backups.

What is Point‑in-Time Recovery (PITR)?

You can create a custom snapshot for the exact Oplog timestamp that you choose to restore the database cluster to. This feature is available only in the MongoDB Enterprise edition.

Connection Pooling

Is connection pooling available for MongoDB?

IONOS DBaaS does not provide a separate pooler. The MongoDB drivers manage connection pooling in your application. Configure driver settings such as maxPoolSize, minPoolSize, and waitQueueTimeout to control connection behavior.

How can we prevent reaching the connection limit in MongoDB?

Reuse connections and configure a reasonable pool size, such as 10–20 connections per application process, tuned to your workload. Avoid creating and tearing down connections for each request. Configure the max_connections using the Formula for Maximum Connections.

Can I scale the deployment to increase MongoDB's connection capacity?

Yes. Connection capacity increases as you scale the cluster’s CPU and RAM. For guidance, see Sizing. To scale resources in MongoDB Enterprise, contact IONOS Cloud Supportarrow-up-right.

Performance and Scaling

Start with a replica set of at least three nodes (one primary and two secondaries), with a minimum of 2 vCPU and 4 GB RAM for low‑to‑moderate traffic. Consider to scaling up based on observed CPU or RAM usage and latency. Monitor MongoDB Databasesarrow-up-right to gauge the health of the MongoDB clusters.

Can I add more read replicas to my MongoDB Enterprise cluster?

Yes. You can add up to five secondary members (a total of seven nodes) to a replica set in a MongoDB Enterprise cluster.

How does sharding work?

Sharding is available only in the MongoDB Enterprise edition. For massive workloads that exceed the vertical limits of a standard replica set, you can use sharding. You can create a sharded cluster in the DCD or via the API. For decision guidance, see Decision matrix: When to shard?.

What are the primary considerations for performance in MongoDB?

The overall MongoDB performance depends on a combination of compute, memory, storage, and workload design.

chevron-rightPrimary MongoDB Performance Considerationshashtag
  • Memory or working set (for latency): Ensure that frequently accessed data and indexes (the working set) fit in RAM. When the working set exceeds available memory and spills to disk, read latency increases significantly.

  • CPU and concurrency: Workloads with high write volumes, aggregations, or many concurrent connections require sufficient CPU capacity. CPU saturation typically manifests as increased tail latency. Make sure to have enough processing power for concurrency and computing.

  • Storage latency and IOPS: For disk-bound workloads, choose SSD Premium to achieve consistently low latency and high IOPS. It is important for write-heavy workloads, extensive indexes, and bursts.

  • Indexes and query patterns: Correct indexing and efficient query shapes prevent collection scans and reduce random Input/Output (I/O). Poor indexes are one of the most common causes of slow queries.

  • Replication settings and topology: Replication is primarily for availability and failover. It can improve read throughput if your application distributes reads to secondaries with appropriate read preference, but write durability settings, such as w:majority and cross-zone latency, can increase write latency.

  • Network placement: Keep the application and database close together, such as in the same region or on a low-latency network. Network latency affects query response times and replication behavior.

  • Connection management: Use driver connection pooling and avoid excessive connections, which can increase CPU or memory overhead and latency variance.

  • Scaling approach: Scale CPU, RAM, and storage vertically first, then consider sharding when a single replica set is consistently at its limits. While it adds complexity, it enables scale-out.

Practical recommendation: Use SSD Premium for production, right-size RAM to fit your working set, validate indexes, and tune replication/write concern based on the desired balance of latency and durability.

Logging, and Alerts

Where can I find the logs?

Use the cluster ID to retrieve the logs via the Get Cluster Logs APIarrow-up-right. The log messages are collected and stored at a central location, with a 30-day retention policy.

Last updated

Was this helpful?