@@ -1252,29 +1252,39 @@ General Parameters
1252
1252
1253
1253
*Default*: 3
1254
1254
1255
- MongoDB limits the number of concurrent user index builds to control
1256
- WiredTiger cache pressure. The primary node can run up to
1257
- ``maxNumActiveUserIndexBuilds`` concurrent user index builds. This is
1258
- a global limit that applies across collections.
1255
+ Sets the maximum number of concurrent index builds allowed on the
1256
+ :term:`primary`. This is a global limit that applies across all
1257
+ collections.
1258
+
1259
+ Increasing the value of ``maxNumActiveUserIndexBuilds`` allows
1260
+ additional concurrent index builds at the cost of increased pressure
1261
+ on the WiredTiger cache.
1259
1262
1260
1263
System indexes are not limited to ``maxNumActiveUserIndexBuilds``,
1261
- however a running system index build will count against the limit for
1262
- user index builds.
1264
+ however a system index build counts against the limit for user index
1265
+ builds.
1263
1266
1264
- After reaching ``maxNumActiveUserIndexBuilds``, MongodDB blocks
1267
+ After the server reaches ``maxNumActiveUserIndexBuilds``, it blocks
1265
1268
additional user index builds until the number of concurrent index
1266
1269
builds drops below the ``maxNumActiveUserIndexBuilds`` limit. If an
1267
- index build is blocked, the server logs a message, "Too many index
1268
- builds running simultaneously, waiting until the number of active
1269
- index builds is below the threshold".
1270
+ index build is blocked, the server logs this message:
1271
+
1272
+ .. code-block:: sh
1273
+ :copyable: false
1274
+
1275
+ Too many index builds running simultaneously, waiting until the
1276
+ number of active index builds is below the threshold.
1270
1277
1271
1278
The following command sets a limit of 4 concurrent index builds:
1272
1279
1273
1280
.. code-block:: javascript
1274
1281
1275
1282
db.adminCommand( { setParameter: 1, maxNumActiveUserIndexBuilds: 4 } )
1276
1283
1277
- See also: :parameter:`maxIndexBuildMemoryUsageMegabytes`
1284
+ See also:
1285
+
1286
+ - :parameter:`maxIndexBuildMemoryUsageMegabytes`
1287
+ - :ref:`index-creation-background`
1278
1288
1279
1289
.. parameter:: notablescan
1280
1290
0 commit comments