@@ -1104,29 +1104,39 @@ General Parameters
1104
1104
1105
1105
*Default*: 3
1106
1106
1107
- MongoDB limits the number of concurrent user index builds to control
1108
- WiredTiger cache pressure. The primary node can run up to
1109
- ``maxNumActiveUserIndexBuilds`` concurrent user index builds. This is
1110
- a global limit that applies across collections.
1107
+ Sets the maximum number of concurrent index builds allowed on the
1108
+ :term:`primary`. This is a global limit that applies across all
1109
+ collections.
1110
+
1111
+ Increasing the value of ``maxNumActiveUserIndexBuilds`` allows
1112
+ additional concurrent index builds at the cost of increased pressure
1113
+ on the WiredTiger cache.
1111
1114
1112
1115
System indexes are not limited to ``maxNumActiveUserIndexBuilds``,
1113
- however a running system index build will count against the limit for
1114
- user index builds.
1116
+ however a system index build counts against the limit for user index
1117
+ builds.
1115
1118
1116
- After reaching ``maxNumActiveUserIndexBuilds``, MongodDB blocks
1119
+ After the server reaches ``maxNumActiveUserIndexBuilds``, it blocks
1117
1120
additional user index builds until the number of concurrent index
1118
1121
builds drops below the ``maxNumActiveUserIndexBuilds`` limit. If an
1119
- index build is blocked, the server logs a message, "Too many index
1120
- builds running simultaneously, waiting until the number of active
1121
- index builds is below the threshold".
1122
+ index build is blocked, the server logs this message:
1123
+
1124
+ .. code-block:: sh
1125
+ :copyable: false
1126
+
1127
+ Too many index builds running simultaneously, waiting until the
1128
+ number of active index builds is below the threshold.
1122
1129
1123
1130
The following command sets a limit of 4 concurrent index builds:
1124
1131
1125
1132
.. code-block:: javascript
1126
1133
1127
1134
db.adminCommand( { setParameter: 1, maxNumActiveUserIndexBuilds: 4 } )
1128
1135
1129
- See also: :parameter:`maxIndexBuildMemoryUsageMegabytes`
1136
+ See also:
1137
+
1138
+ - :parameter:`maxIndexBuildMemoryUsageMegabytes`
1139
+ - :ref:`index-creation-background`
1130
1140
1131
1141
.. parameter:: notablescan
1132
1142
0 commit comments