Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ /
Atlas CLI
/ / /

Atlas API performanceAdvisor listSchemaAdvisor

実験的な : Performance Advisor が検出したスキーマの提案を返します。

Performance Advisor は、最もアクティブなコレクションと実行が遅いクエリを持つコレクションのドキュメントをサンプリングすることで、クラスターの全体的なスキーマ推奨事項を提供します。このリソースを使用するには、リクエスト元のAPIキーにプロジェクトの読み取り専用ロールが必要です。このコマンドは、OpsID: 'listSchemaAdvise' を使用してエンドポイントを呼び出しています。フラグ、--ファイルの形式、および例の詳細については、次を参照してください: https://www.mongodb.com/ja-jp/docs/atlas/ 参照/api-resources-spec/v2 /# tags/Performance-Advisor/ /listSchemaAdvanced の操作

コマンド構文
atlas api performanceAdvisor listSchemaAdvice [options]
名前
タイプ
必須
説明

--clusterName

string

true

クラスターを識別する、人間が判読できるラベル

--groupId

string

true

プロジェクトを識別する一意の 24 桁の 16 進数の文字列

-h, --help

false

listSchemaAdvanced のヘルプ

--出力

string

false

優先API形式 は、 ["JSON", go-template] にすることができます。この値のデフォルトは "JSON" です。

-- output-file

string

false

API 出力を書き込むファイル。このフラグは、エンドポイントの出力がバイナリ(例: gzip)で、コマンドがパイプライン化されていない場合(例: Atlas コマンド >out.zip)に必要です。

--version

string

false

API 呼び出し [options: "2024-08-05"] を呼び出すときに使用する API バージョンは、最新バージョンにデフォルト設定されているか、設定されている場合は api_version 構成値 をプロファイルします。この値のデフォルトは "2024-08-05"

名前
タイプ
必須
説明

-P, --profile

string

false

戻る

listDropIndexes

項目一覧