@@ -1029,6 +1029,48 @@ hedgingMetrics
10291029
10301030 For :binary:`~bin.mongos` instances only.
10311031
1032+ .. _server-status-indexBulkBuilder:
1033+
1034+ indexBulkBuilder
1035+ ~~~~~~~~~~~~~~~~
1036+ .. code-block:: json
1037+
1038+ "indexBulkBuilder": {
1039+ "count": <long>,
1040+ "resumed": <long>,
1041+ "filesOpenedForExternalSort": <long>,
1042+ "filesClosedForExternalSort": <long>,
1043+ }
1044+
1045+ .. serverstatus:: indexBulkBuilder
1046+
1047+ Provides metrics for index bulk builder operations. Use these metrics to
1048+ diagnose index build issues with :dbcommand:`createIndexes`, collection
1049+ cloning during initial sync, index builds that resume after startup, and
1050+ statistics on disk usage by the external sorter.
1051+
1052+ .. serverstatus:: indexBulkBuilder.count
1053+
1054+ The number of instances of the bulk builder created.
1055+
1056+ .. serverstatus:: indexBulkBuilder.filesClosedForExternalSort
1057+
1058+ The number of times the external sorter closed a file handle to spill data
1059+ to disk. Combine this value with
1060+ :serverstatus:`~indexBulkBuilder.filesOpenedForExternalSort` to determine
1061+ the number of open file handles in use by the external sorter.
1062+
1063+ .. serverstatus:: indexBulkBuilder.filesOpenedForExternalSort
1064+
1065+ The number of times the external sorter opened a file handle to spill data
1066+ to disk. Combine this value with
1067+ :serverstatus:`~indexBulkBuilder.filesClosedForExternalSort` to determine
1068+ the number of open file handles in use by the external sorter.
1069+
1070+ .. serverstatus:: indexBulkBuilder.resumed
1071+
1072+ The number of times the bulk builder was created for a resumable index build.
1073+
10321074.. _server-status-latchAnalysis:
10331075
10341076latchAnalysis
0 commit comments