Skip to content

Commit 92850e9

Browse files
authored
DOCS-15518 serverStatus indexBulkBuilder (#2454) (#2476)
* 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 cd1a21d commit 92850e9

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,47 @@ hedgingMetrics
10441044

10451045
For :binary:`~bin.mongos` instances only.
10461046

1047+
.. _server-status-indexBulkBuilder:
1048+
1049+
indexBulkBuilder
1050+
~~~~~~~~~~~~~~~~
1051+
.. code-block:: json
1052+
1053+
"indexBulkBuilder": {
1054+
"count": <long>,
1055+
"resumed": <long>,
1056+
"filesOpenedForExternalSort": <long>,
1057+
"filesClosedForExternalSort": <long>,
1058+
}
1059+
1060+
.. serverstatus:: indexBulkBuilder
1061+
1062+
Provides metrics for index bulk builder operations. Use these metrics to
1063+
diagnose index build issues with :dbcommand:`createIndexes`, collection
1064+
cloning during initial sync, index builds that resume after startup, and
1065+
statistics on disk usage by the external sorter.
1066+
1067+
.. serverstatus:: indexBulkBuilder.count
1068+
1069+
The number of instances of the bulk builder created.
1070+
1071+
.. serverstatus:: indexBulkBuilder.filesClosedForExternalSort
1072+
1073+
The number of times the external sorter closed a file handle to spill data
1074+
to disk. Combine this value with
1075+
:serverstatus:`~indexBulkBuilder.filesOpenedForExternalSort` to determine
1076+
the number of open file handles in use by the external sorter.
1077+
1078+
.. serverstatus:: indexBulkBuilder.filesOpenedForExternalSort
1079+
1080+
The number of times the external sorter opened a file handle to spill data
1081+
to disk. Combine this value with
1082+
:serverstatus:`~indexBulkBuilder.filesClosedForExternalSort` to determine
1083+
the number of open file handles in use by the external sorter.
1084+
1085+
.. serverstatus:: indexBulkBuilder.resumed
1086+
1087+
The number of times the bulk builder was created for a resumable index build.
10471088

10481089
.. _server-status-instance-information:
10491090

0 commit comments

Comments
 (0)