ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

sh.removeShardTag()

項目一覧

sh.removeShardTag(shard, tag)

注意

このメソッドはsh.removeShardFromZone()のエイリアスになります。 MongoDB は、タグ対応シャーディングの継承としてゾーン シャーディングを提供します。

Removes the association between a tag and a shard. Only issue sh.removeShardTag() when connected to a mongos instance.

Parameter
タイプ
説明

shard

string

The name of the shard from which to remove a tag.

tag

string

The name of the tag to remove from the shard.

以下も参照してください。

このメソッドは、次の環境でホストされている配置で使用できます。

  • MongoDB Atlas はクラウドでの MongoDB 配置のためのフルマネージド サービスです

重要

このコマンドは、M0、M2、M5、および Flex クラスターではサポートされていません。詳細については、「 サポートされていないコマンド 」を参照してください。

  • MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン

  • MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン

項目一覧