AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

sh.disableMigrations() (mongosh 메서드)

sh.disableMigrations(namespace)

Disables migrations for the specified namespace of the sharded collection. The balancer does not migrate chunks for the collection you pass to sh.disableMigrations() until migrations are re-enabled using sh.enableMigrations(). For more information on chunk migrations, see Manage Sharded Cluster Balancer.

중요

You can only run sh.disableMigrations() on a mongos instance. If you run sh.enableMigrations() on a mongod instance, the method returns an error.

The sh.disableMigrations() method has the following parameter:

Parameter
유형
설명

namespace

문자열

컬렉션의 네임스페이스 입니다.

이 메서드는 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.

참고

각 컬렉션에 대한 allowMigrations 필드를 표시하는 sh.status()를 사용하여 마이그레이션 상태를 확인할 수 있습니다.

이 페이지 평가하기

이 페이지의 내용