Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Atlas에서 지원되지 않는 명령

이 페이지의 내용

  • M0/M2/M5 및 Atlas Flex 클러스터에서 지원되지 않는 명령
  • 제한된 명령
  • 지원되지 않는 명령
  • 지원되지 않는 명령줄 옵션
  • M10+ 클러스터에서 지원되지 않는 명령
  • 제한된 명령
  • 지원되지 않는 명령
  • 지원되지 않는 명령줄 옵션
  • 지원 팀에 문의하기
  • 서버리스 인스턴스에서 지원되지 않는 명령
  • 지원되지 않는 명령줄 옵션

Atlas M0 무료 클러스터, Flex 클러스터 및 M2/M5 공유 클러스터는 다른 클러스터에서 사용할 수 있는 모든 기능을 지원 하지 않습니다. M0M2, 및 M5 클러스터 제한에 학습 보려면 Atlas M(무료0 클러스터), M2 및 M5 제한을 참조하세요. Flex 클러스터 제한에 학습 보려면 Atlas Flex 제한을 참조하세요.

참고

지원되지 않는 명령이나 잘못된 구문을 사용하는 경우 Atlas는 다음 오류 메시지를 반환합니다.

<$command> is not allowed or the syntax is incorrect,
see the Atlas documentation for more information.

유효한 구문에 대해 자세히 알아보려면 데이터베이스 명령을 참조하세요.

M0 무료 클러스터, Flex 클러스터 및 M2/M5 공유 클러스터에서 제한이 있는 다음 명령을 실행 수 있습니다.

명령
Limit
  • maxTimeMs 매개 변수를 300초(300000)로 제한합니다.

  • allowDiskUsage 매개 변수를 무시합니다.

  • $accumulator$function 연산자를 지원하지 않습니다.

  • $where 연산자를 지원하지 않습니다.

  • local 데이터베이스에 대한 count 작업을 system.replsetoplog.rs 컬렉션으로 제한합니다.

M 무료 클러스터 및 M0 25 dbStats /M 공유 클러스터는 localconfig 데이터베이스에서 명령을 허용하지 않습니다.

자세한 내용은 운영 제한을 참조하세요.

$where 연산자를 지원하지 않습니다.

  • $where 연산자를 지원하지 않습니다.

  • local 데이터베이스에 대한 find 작업을 oplog.rs 컬렉션으로 제한합니다.

  • local 데이터베이스의 oplog.rs 컬렉션에 있는 ns 필드를 쿼리할 때 find 작업을 동일성 조건을 사용하도록 제한합니다.

    { "ns" : "test.foo" }

이 두 문서로 실행을 제한합니다:

  • { "getParameter": 1, "authSchemaVersion": 1 }

  • { "getParameter": 1, "authenticationMechanisms": 1 }

db.killOp() 메서드를 작업을 실행한 MongoDB 사용자로 제한합니다.

다음 필드에 응답을 제한합니다:

  • $clusterTime.clusterTime

  • $clusterTime.operationTime

  • $clusterTime.signature.hash

  • $clusterTime.signature.keyId

  • $clusterTime.signature

  • asserts.msg

  • asserts.regular

  • asserts.rollovers

  • asserts.user

  • asserts.warning

  • atlasVersion.gitVersion

  • atlasVersion.version

  • connections.available

  • connections.current

  • connections.totalCreated

  • extra_info.note

  • extra_info.page_faults

  • host

  • localTime

  • mem.bits

  • mem.mapped

  • mem.mappedWithJournal

  • mem.resident

  • mem.supported

  • mem.virtual

  • metrics.atlas.bytesInWrites

  • metrics.atlas.connectionPool.totalCreated

  • network.bytesIn

  • network.bytesOut

  • network.numRequests

  • ok

  • opcounters.command

  • opcounters.delete

  • opcounters.getmore

  • opcounters.insert

  • opcounters.query

  • opcounters.update

  • opcountersRepl.command

  • opcountersRepl.delete

  • opcountersRepl.getmore

  • opcountersRepl.insert

  • opcountersRepl.query

  • opcountersRepl.update

  • pid

  • process

  • repl.electionId

  • repl.hosts[]

  • repl.ismaster

  • repl.lastWrite.lastWriteDate

  • repl.lastWrite.majorityOpTime.t

  • repl.lastWrite.majorityOpTime.ts

  • repl.lastWrite.majorityWriteDate

  • repl.lastWrite.opTime.t

  • repl.lastWrite.opTime.ts

  • repl.me

  • repl.primary

  • repl.rbid

  • repl.secondary

  • repl.setName

  • repl.setVersion

  • repl.tags.nodeType

  • repl.tags.provider

  • repl.tags.region

  • repl.tags

  • storageEngine.backupCursorOpen

  • storageEngine.dropPendingIdents

  • storageEngine.name

  • storageEngine.oldestRequiredTimestampForCrashRecovery

  • storageEngine.persistent

  • storageEngine.readOnly

  • storageEngine.supportsCommittedReads

  • storageEngine.supportsPendingDrops

  • storageEngine.supportsSnapshotReadConcern

  • uptime

  • uptimeEstimate

  • uptimeMillis

  • version

M0 무료 클러스터, Flex 클러스터 및 M2/M5 공유 클러스터는 다음 명령을 지원 하지 않습니다.

참고

M10 이상인 다른 모든 계층의 클러스터에 사용할 수 있는 명령은 내장 Atlas MongoDB 역할에 정의된 권한에 해당합니다. Atlas user 권한에 학습보려면 Atlas user 권한을 참조하세요.

M0 무료 클러스터, Flex 클러스터 및 M2/M5 공유 클러스터는 다음 명령줄 도구 옵션을 지원 하지 않습니다.

자세한 내용은 Atlas M0(무료 클러스터), M2 및 M5 제한 사항을 참조하세요.

클라이언트가 Atlas 클러스터에 액세스하려면 Atlas에서 인증을 받아야 합니다. Atlas는 선별된 데이터베이스 사용자 권한 목록을 제공합니다. 이러한 권한은 MongoDB 명령의 하위 집합에 액세스할 수 있는 권한을 제공합니다.

Atlas는 db.killOp() 메서드를 작업을 실행한 MongoDB 사용자로 제한합니다.

Atlas 는 M30+ 샤딩된 클러스터에서만 다음 샤딩 명령을 지원합니다.

다음 표에서 데이터베이스 사용자 권한이 지원하지 않는 가장 일반적인 명령과 셸 메서드 를 확인할 수 있습니다. Atlas는 이러한 명령이 제공하는 기능을 포함하거나 제한하여 클러스터의 안정성과 성능을 보장합니다.

명령.
셸 메서드
권한 작업
명령.
셸 메서드
권한 작업
[1](1, 2, 3, 4) MongoDB 5.0 을 사용하는 경우 .6 이상에서는 setAllowMigrations 를 사용하여 특정 컬렉션의 밸런싱을 제어할 수 있습니다.
[2] 이 명령은 글로벌 쓰기 클러스터에서만 지원되지 않습니다.

참고

대안으로 사용 가능한 Atlas 사용자 역할을 참조하세요.

[3](1, 2, 3, 4) 자신의 사용자 계정으로 getUser 를 호출할 수 있습니다.

M10+ 클러스터는 에 대한 mongorestore --preserveUUID 옵션을 지원 하지 않습니다.

사용 사례에서 현재 Atlas 데이터베이스 사용자 권한이 지원하지 않는 명령에 액세스해야 하는 경우 Atlas 지원팀에 문의하세요.

Atlas 서버리스 인스턴스는 다음 데이터베이스 명령 mongosh shell 메서드를 지원하지 않습니다.

데이터베이스 명령
셸 메서드

eval

db.eval()

geoNear
(deprecated in MongoDB v4.0)

getUser [3]

$listLocalSessions 집계 파이프라인 단계

$listSessions 집계 파이프라인 단계

$planCacheStats 집계 파이프라인 단계

resync

(deprecated in MongoDB v4.4)

서버리스 인스턴스는 아래의 명령 줄 도구 옵션을 지원하지 않습니다.

명령줄 도구
지원되지 않는 옵션

돌아가기

M0, M2 및 M5 제한