You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3053,14 +3055,7 @@ The ``sharding`` section defines configuration parameters related to :ref:`shard
3053
3055
.. confval:: sharding.bucket_count
3054
3056
3055
3057
The total number of buckets in a cluster.
3056
-
3057
-
``sharding.bucket_count`` should be several orders of magnitude larger than the potential number of cluster nodes, considering potential scaling out in the future.
3058
-
3059
-
If the estimated number of nodes in a cluster is M, then the data set should be divided into 100M or even 1000M buckets, depending on the planned scaling out.
3060
-
This number is greater than the potential number of cluster nodes in the system being designed.
3061
-
3062
-
Keep in mind that too many buckets can cause a need to allocate more memory to store routing information.
3063
-
On the other hand, an insufficient number of buckets can lead to decreased granularity when :ref:`rebalancing <vshard-rebalancing>`.
3058
+
Learn more in :ref:`vshard-bucket-count`.
3064
3059
3065
3060
.. NOTE::
3066
3061
@@ -3079,22 +3074,6 @@ The ``sharding`` section defines configuration parameters related to :ref:`shard
This option should be defined at the :ref:`global level <configuration_scopes>`.
3202
+
* ``auto`` (default): if there are no replica sets with the ``rebalancer`` sharding role (:ref:`sharding.roles <configuration_reference_sharding_roles>`), a replica set with the rebalancer is selected automatically among all replica sets.
3203
+
* ``manual``: one of the replica sets should have the ``rebalancer`` sharding role. The rebalancer is in this replica set.
3204
+
* ``off``: rebalancing is turned off regardless of whether a replica set with the ``rebalancer`` sharding role exists or not.
msgid"A field defining the configuration of relative weights for each zone pair in a replica set. See the :ref:`Replica weights <vshard-replica-weights>` section."
99
+
msgid"A field defining the configuration of relative weights for each zone pair in a replica set."
0 commit comments