mongodb / v3.6 / reference / reference-method-db.getProfilingStatus.html

db.getProfilingStatus()

  • db. getProfilingStatus ( )
Returns: 当前的profile级别,slowOpThresholdMs设置和slowOpSampleRate设置。