@@ -138,6 +138,48 @@ Output
138
138
For the :dbcommand:`serverStatus` output specific to the version of
139
139
your MongoDB, refer to the appropriate version of the MongoDB Manual.
140
140
141
+ .. _server-status-indexBulkBuilder:
142
+
143
+ indexBulkBuilder
144
+ ~~~~~~~~~~~~~~~~
145
+ .. code-block:: json
146
+
147
+ "indexBulkBuilder": {
148
+ "count": <long>,
149
+ "resumed": <long>,
150
+ "filesOpenedForExternalSort": <long>,
151
+ "filesClosedForExternalSort": <long>,
152
+ }
153
+
154
+ .. serverstatus:: indexBulkBuilder
155
+
156
+ Provides metrics for index bulk builder operations. Use these metrics to
157
+ diagnose index build issues with :dbcommand:`createIndexes`, collection
158
+ cloning during initial sync, index builds that resume after startup, and
159
+ statistics on disk usage by the external sorter.
160
+
161
+ .. serverstatus:: indexBulkBuilder.count
162
+
163
+ The number of instances of the bulk builder created.
164
+
165
+ .. serverstatus:: indexBulkBuilder.filesClosedForExternalSort
166
+
167
+ The number of times the external sorter closed a file handle to spill data
168
+ to disk. Combine this value with
169
+ :serverstatus:`~indexBulkBuilder.filesOpenedForExternalSort` to determine
170
+ the number of open file handles in use by the external sorter.
171
+
172
+ .. serverstatus:: indexBulkBuilder.filesOpenedForExternalSort
173
+
174
+ The number of times the external sorter opened a file handle to spill data
175
+ to disk. Combine this value with
176
+ :serverstatus:`~indexBulkBuilder.filesClosedForExternalSort` to determine
177
+ the number of open file handles in use by the external sorter.
178
+
179
+ .. serverstatus:: indexBulkBuilder.resumed
180
+
181
+ The number of times the bulk builder was created for a resumable index build.
182
+
141
183
.. _server-status-instance-information:
142
184
143
185
Instance Information
0 commit comments