How do I get the slow logs of an instance?
You can use the slow log query feature as described in Slow Log Management to get the slow log details. Does MongoDB support password-free access?
TencentDB for MongoDB supports auth-free access to instances. This feature enables you to efficiently and quickly access database instances but brings security risks. Therefore, enable it with caution. How do I set secondary database dump?
In mongodump parameters, set readPreference=secondaryPreferred
.
Does TencentDB for MongoDB support adding secondary nodes dynamically?
No.
What is the difference between TencentDB for MongoDB and self-built MongoDB?
What is the oplog size? Can I adjust it?
The default oplog size is 10% of the instance capacity. You can adjust it between 10% (minimum) and 90% (maximum) of the instance capacity in the console.
Is oplog included in the purchased capacity?
As oplog exists inside the MongoDB database, it will occupy a part of the purchased capacity (10% by default).
What role permissions are available currently?
Only RoleDBAdminAny and RoleReadWriteAny are available, while root privileges are unavailable for now. More roles will become available in the future. We will also open up more convenient and practical console features to eliminate the need to call for some special permissions. What will happen if disk utilization reaches 100%?
At this point, the instance will be blocked and become read-only, and any connections for write attempts will be closed. Pay attention to your business development and instance usage and expand the capacity as appropriate when capacity usage reaches a certain level.
Why does the monitor show high memory utilization in MongoDB?
MongoDB uses a greedy policy to try to allocate available memory for caching to improve performance. For more information, see FAQ: MongoDB Storage. Which engines are supported by MongoDB?
WiredTiger engine and Rocks engine are supported currently.
Does MongoDB support maintenance window?
Why is the space not reclaimed after data in MongoDB is deleted?
Unless a database or collection is dropped directly, the space freed by deleted data will not be reclaimed in MongoDB. To reclaim the space of the WiredTiger engine, see FAQ: MongoDB Storage.
Was this page helpful?