Functional Feature

Last updated: 2019-08-12 12:01:52

PDF

How do I obtain the slow operation log of an instance?

You can get the information here [Slow Operation Log](https://intl.cloud.tencent.com/document/product/240/31454.

Does MongoDB support access via a public network?

No. However, when you are using a public network, you can access MongoDB with proxy and CVM, which provides a private network for you to connect.

Does MongoDB require a password to access?

For security reasons, MongoDB does require a password to access

How do I create a dump of replica set slave?

In mongodump parameters, set readPreference=secondaryPreferred.

Can I add secondary nodes to TencentDB for MongoDB?

No.

What is the difference between TencentDB for MongoDB and self-hosted MongoDB?

For more information, see Benefits.

What is the size of oplog? Can I adjust it?

By default, oplog capacity is 10% of the instance capacity. You can adjust the number to a value between 10% (min) and 90% (max) on the console.

Is oplog included in the purchased capacity?

Because oplog is built inside MongoDB, it takes up instance purchased capacity. By default it is 10%.

What role permissions are currently available?

Only RoleDBAdminAny and RoleReadWriteAny are available, and root is unavailable at the moment. More roles may become available in the future. We will offer more user-friendly consoles for permission management.

What happens if disk memory usage is 100 %?

The instance will be blocked, meaning that you can only read the instance, and any attempts to write operation will be disconnected. Pay attention to the instance usage, and expand the capacity as needed.

Why MongoDB uses too much memory?

MongoDB aggressively allocates available cache memory to improve performance. For more information, see the official documentation.

What engines are supported by MongoDB?

WiredTiger engine and Rocks engine.

Does MongoDB support maintenance window?

No.

Why can’t I reclaim disk space after the data was removed in MongoDB?

Unless you delete or remove databases or tables directly, you do not reclaim disk space for MongoDB to reuse freed space. To reclaim the space of the WiredTiger engine, see the official documentation.