You can use the Slow Log Query feature to get the slow log details.
No. You have to set up a proxy to use the public network. You can purchase a CVM instance and access over a private network.
For security reasons, MongoDB does not support password-free access.
In mongodump parameters, set readPreference=secondaryPreferred
.
No.
For more information, please see Strengths.
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.
As oplog exists inside the MongoDB database, it will occupy a part of the purchased capacity (10% by default).
Only RoleDBAdminAny and RoleReadWriteAny are available, and 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.
At this point, the instance will be blocked and become read-only, and any connections for write attempts will be closed. Please pay attention to your business development and instance usage and expand the capacity as appropriate when capacity usage reaches a certain level.
MongoDB uses a greedy policy to try to allocate available memory for caching to improve performance. For more information, please see FAQ: MongoDB Storage.
WiredTiger engine and Rocks engine are supported currently.
No.
Unless a database or table is dropped directly, the space freed by deleted data will not be reclaimed in MongoDB. To reclaim the space of the WiredTiger engine, please see FAQ: MongoDB Storage.
Was this page helpful?