Docs Menu
Docs Home
/ /

Atlas でサポートされていないコマンド

Atlas M0 無料クラスターとフレックス クラスターでは、他のクラスターで利用可能なすべての機能をサポートしていません。M0 クラスターの制限について詳しくは、「Atlas M0(無料クラスター)の制限」を参照してください。フレックス クラスターの制限について詳しくは、「Atlas フレックスの制限事項」をご覧ください。

注意

サポートされていないコマンドや無効な構文を使用すると、Atlas は次のエラーメッセージを返します。

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

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

M0 クラスターおよびフレックス クラスターでは、制限付きで次のコマンドを実行できます。

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

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

  • $accumulatorおよび$function演算子をサポートしていません。

  • $$USER_ROLES システム変数はサポートされていません。

  • $where演算子をサポートしていません。

  • データベースに対する count操作を コレクションとlocalsystem.replset oplog.rsコレクションに制限します。

M0 無料クラスターおよびフレックス クラスターでは、dbStats コマンドを local および config データベースに対して実行することはできません。

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

$where演算子をサポートしていません。

  • $where演算子をサポートしていません。

  • $$USER_ROLES システム変数はサポートされていません。

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

  • localデータベースに対するfind操作をoplog.rsコレクションに制限します。

  • localデータベースのoplog.rsコレクションのnsフィールドをクエリするときに、 find操作を等価条件を使用するように制限します。

    { "ns" : "test.foo" }

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

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

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

db.killOp()メソッドを、操作を実行した MongoDB ユーザーに制限します。

$$USER_ROLES システム変数はサポートされていません。

$$USER_ROLES システム変数はサポートされていません。

$$USER_ROLES システム変数はサポートされていません。

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

  • $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 Free クラスターとフレックス クラスターでは、次のコマンドをサポートしていません。

注意

The commands available for clusters of all other tiers, M10 and larger, correspond to the privileges defined for the built-in Atlas MongoDB roles. To learn more about permissions, see Atlas User Privileges.

M0 無料クラスターとフレックス クラスターは、次のコマンドライン ツールのオプションをサポートしていません。

コマンドラインツール
サポートされていないオプション

詳細については、「M0 クラスター制限」を参照してください。

Atlas requires clients to authenticate to access an Atlas cluster. Atlas provides a curated list of Database User Privileges. These privileges provide access to a subset of MongoDB commands.

Atlas はdb.killOp()メソッドを、操作を実行した MongoDB ユーザーに制限します。

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

コマンド
shell メソッド
権限アクション

次の表は、データベースユーザー特権がサポートしていない最も一般的なコマンドと shell メソッドを示しています。 クラスターの安定性とパフォーマンスを確保するために、Atlas はこれらのコマンドが提供する機能を一時停止または制限します。

コマンド
shell メソッド
権限アクション
コマンド
shell メソッド
権限アクション
[1]12 setAllowMigrationsを使用して、特定のコレクションのバランシングを制御できます。
[2] このコマンドは、グローバル書き込みクラスターのみではサポートされていません。

注意

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

[3]12 : 自分のユーザー アカウントでgetUserを呼び出すことができます。

M10 + クラスターは の --preservUUID mongorestoreオプションをサポートしていません。

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

戻る

M0 の制限