Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Atualizado em 2023-05-06 GMT+08:00

Cluster

Each DDS cluster consists of a config node, and multiple mongos and shard nodes. The following diagram shows the node relationships.

Figura 1 Diagram of node relationships

mongos

A mongos is a router for reading and writing data, providing a unified interface for accessing DB instances.
  • Each DB instance has 2 to 16 mongos nodes. You can specify the quantity.
  • A mongos reads configuration settings from configs and allocates read and write requests to shards. You can connect to a mongos directly.

config

A config stores configuration settings for DB instances and consists of one replica set.

You cannot connect to a config node directly.

shard

Shards are used to store user data.
  • Each Community Edition instance has 2 to 16 shard nodes. You can specify the quantity.
  • Each shard node is deployed as a replica set to ensure data redundancy and high reliability.
  • You cannot connect to a shard node directly.