정의
호환성
이 메서드는 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.
- MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
중요
This command is not supported in M0 and Flex clusters. For more information, see Unsupported Commands.
MongoDB Enterprise: MongoDB의 구독 기반 자체 관리 버전
MongoDB Community: MongoDB의 소스 사용 가능 무료 자체 관리 버전
구문
sh.abortUnshardCollection( "<database>.<collection>" )
매개변수
필드 | 유형 | 필요성 | 설명 |
|---|---|---|---|
| 문자열 | 필수 사항 | 샤딩 해제를 중지할 데이터베이스 및 컬렉션 을 지정합니다. |
예시
다음 예시 에서는 sales.us_accounts 컬렉션 의 진행 중인 언샤딩 작업을 중지합니다.
sh.abortUnshardCollection( "sales.us_accounts" )