説明
sh.disableBalancing(namespace)指定されたシャーディングされたコレクションのバランサーを無効にします。 これは、同じクラスター内の他のシャーディングされたコレクションのチャンクのバランシングには影響しません。
重要
You can only run
sh.disableBalancing()on amongosinstance.sh.disableBalancing()errors if run onmongodinstance.The
sh.disableBalancing()method has the following parameter:Parameterタイプ説明namespacestring
コレクションの名前空間。
バランシング プロセスの詳細については、「 シャーディングされたクラスター バランサー と シャーディングされたクラスター バランサーの管理 」を参照してください。
互換性
このメソッドは、次の環境でホストされている配置で使用できます。
MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン
MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン