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

db.getProfilingStatus()(mongoshメソッド)

db.getProfilingStatus()
次の値を返します。

現在の profile レベル、slowOpThresholdMs 設定、slowOpInProgressThresholdMs 設定、slowOpSampleRate 設定。

You can set a filter to control which operations are logged by the profiler. When set, any configured filters are also returned by db.getProfilingStatus(), along with a note explaining filter behavior.

プロファイリング フィルターは、次のいずれかを使用して設定できます。

このメソッドは、次の環境でホストされている配置で使用できます。

  • 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 のバージョン

このページを評価

項目一覧