File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ The threshold for slow operations applies to the entire
78
78
:program:`mongod` instance. When you change the threshold, you change it
79
79
for all databases on the instance.
80
80
81
+ .. warning:: Changing the slow-operation threshold for the database
82
+ profiler also affects the logging subsystem's slow operation threshold.
83
+
81
84
By default the threshold is 100 milliseconds. Databases with a log level
82
85
of ``1`` will log operations slower than 100 milliseconds.
83
86
@@ -249,8 +252,9 @@ Profiler Overhead
249
252
-----------------
250
253
251
254
When enabled, profiling has a minor effect on performance. The
252
- ``system.profile`` collection, which is a :term:`capped collection`, is
253
- set to several thousand typical profile documents by default.
255
+ ``system.profile`` collection is a :term:`capped collection` with a
256
+ default size of 1 megabyte. It is able to store several thousand typical
257
+ profile documents by default.
254
258
255
259
To change the size of the ``system.profile`` collection, you must:
256
260
You can’t perform that action at this time.
0 commit comments