Skip to content

Commit 38ef896

Browse files
authored
DOCS-15518 serverStatus indexBulkBuilder (#2454) (#2478)
* DOCS-15518 Adds indexBulkBuilder to serverStatus * Fixes per Shin Yee Tan * Fixes build error * Fixes build error * Fixes build error * Fixes per Ali * Fixes per Ali * Fixes per Shin
1 parent a375354 commit 38ef896

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,48 @@ Output
138138
For the :dbcommand:`serverStatus` output specific to the version of
139139
your MongoDB, refer to the appropriate version of the MongoDB Manual.
140140

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+
141183
.. _server-status-instance-information:
142184

143185
Instance Information

0 commit comments

Comments
 (0)