AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

Atlas クラスターでサポートされていないコマンド

このページでは、Freeクラスター、Flexクラスター、M10+ Atlas Coreクラスター、およびM10+ Atlas Infiniteクラスターのコマンドサポートを、以下のセクションで比較します。

Atlas requires clients to authenticate to access an Atlas cluster. Atlas provides a curated list of Database User Privileges that grant access to a subset of MongoDB commands. The tables in the Unsupported Commands section list the commands that fall outside this subset for each cluster type.

Atlas Free、Flex、および Infinite クラスターは、他のクラスターで利用可能なすべての機能をサポートしていません。より多くを学ぶには、以下を参照してください。

以下の表は、AtlasがサポートしていないMongoDBコマンド、shellメソッド、および権限アクションをクラスタータイプ別にまとめたものです。クラスターの安定性とパフォーマンスを確保するため、Atlasはこれらのコマンドが提供する機能を自動化します。Atlasは、クラスターの階層やデータベースエディションに基づいて他のコマンドを制限します。

は、クラスタータイプがそのコマンドをサポートしていないことを示します。

注意

FreeクラスターまたはFlexクラスターでサポートされていないコマンドや無効な構文を使用した場合、Atlasは次のエラーメッセージを返します。

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

有効な構文の詳細については、データベース コマンド を参照してください。

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite

shardedFinish

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite

copydbgetnonce

copydbsaslstart

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite

currentOpCtx

forcerror

getDiagnosticData

getPrevError

handshake

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite

planCacheListPlans

planCacheListQueryShapes

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite

replSetDeclareElectionWinner

replSetElect

replSetFresh

replSetGetRBID

replSetRequestVotes

replSetStepUp

replSetUpdatePosition

resync

コマンド
shell メソッド
権限アクション
Free および Flex
M10+ Core
M10+ Infinite
[1](1, 2) You can use setAllowMigrations to control the balancing of a specific collection.
[2] このコマンドは、グローバル書き込みクラスターのみではサポートされていません。

注意

別の方法として、利用可能なAtlas userロール を参照してください。

[3](1, 2) You can call getUser for your own user account.

Atlasは、次のコマンドラインツールオプションをサポートしていません。 は、クラスタータイプがそのオプションをサポートしていないことを示します。

Atlasでは、制限付きで以下のコマンドをサポートしています。

無料クラスターと Flex クラスターでは、制限付きで次のコマンドを実行できます。

コマンド
Limit
  • maxTimeMsパラメータを 300 秒に制限します( 300000 )。

  • allowDiskUse パラメーターを無視します。

  • Doesn't support $accumulator and $function operators.

  • Doesn't support the $$USER_ROLES system variable.

  • Doesn't support the $where operator.

  • Limits the count operation on the local database to the system.replset and oplog.rs collections.

Free clusters and Flex clusters don't allow the dbStats command on the local and config databases.

詳細については、「運用上の制限 」を参照してください。

Doesn't support $where operator.

  • Doesn't support the $where operator.

  • Doesn't support the $$USER_ROLES system variable.

  • allowDiskUse パラメーターを無視します。

  • Limits the find operation on the local database to the oplog.rs collection.

  • Limits the find operation to using an equality condition when querying the ns field in the oplog.rs collection on the local database.

    { "ns" : "test.foo" }

次の 2 つのドキュメントに実行を制限します。

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

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

Limits the db.killOp() method to the MongoDB user who ran the operation.

Doesn't support the $$USER_ROLES system variable.

Doesn't support the $$USER_ROLES system variable.

Doesn't support the $$USER_ROLES system variable.

次のフィールドへの応答を制限します。

  • $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

Atlas limits the db.killOp() method to the MongoDB user who ran the operation.

Atlas doesn't support the killAllSessions command unless the database user has:

Atlas は、M30+ のシャーディングされた Atlas Core クラスターでのみ、次のシャーディングコマンドをサポートします。

Atlas limits the db.killOp() method to the MongoDB user who ran the operation.

Atlas doesn't support the killAllSessions command unless the database user has:

Atlas Infinite clusters only support the profile command when the database profiler level is 0.

Atlas データベースユーザーの権限が現在サポートしていないコマンドにアクセスする必要がある場合は、Atlasサポートにお問い合わせください。