Currently, Rocks and WiredTiger engines are supported.
There are two options available when you create a TencentDB for MongoDB instance:
|Replica set||1 primary node and 2 secondary nodes|
|Sharded cluster||A single instance has at least 2 shards, each of which has at least 3 nodes and is scalable (currently, the shard node specifications are scalable, but the numbers of shards and nodes are not)|
For a replica set, the maximum number of connections is subject to the memory size of a single node as shown below:
|Memory Specification||Maximum Number of Connections|
- The above numbers of connections have taken effect since August 10, 2020.
- For a sharded cluster, the maximum number of connections is the
number of shards * specification of single shardor
18,000, whichever is smaller.
For example, if a sharded cluster instance has 3 shards, each with 64 GB memory, then as 16000 * 3 = 48000 > 18000, the maximum number of connections for this cluster will be 18,000.
TencentDB for MongoDB comes with a default user: "mongouser". It supports the SCRAM-SHA-1 authentication mechanism, and its role is readWriteAnyDatabase+dbAdmin. You can use it to read and write any database, but you are not permitted to perform high-risk operations.
TencentDB for MongoDB v3.2 supports another default user: "rwuser". It uses the MONGODB-CR authentication mechanism which, however, is no longer supported by MongoDB. We recommend you use the "mongouser" to connect to your instance.
You can also manage your account and permissions as needed in the TencentDB for MongoDB Console.
If the disk utilization of an instance has reached 100%, you cannot write to it. Please adjust the instance specification in time as needed. For more information, please see Adjusting Instance Specification. If this happens, please contact us for assistance.