Skip to content

Commit f101d9c

Browse files
authored
DOCS-15518 serverStatus indexBulkBuilder (#2454) (#2475)
* 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 710b8c0 commit f101d9c

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,69 @@ hedgingMetrics
10701070

10711071
For :binary:`~bin.mongos` instances only.
10721072

1073+
.. _server-status-indexBulkBuilder:
1074+
1075+
indexBulkBuilder
1076+
~~~~~~~~~~~~~~~~
1077+
.. code-block:: json
1078+
1079+
"indexBulkBuilder": {
1080+
"count": <long>,
1081+
"resumed": <long>,
1082+
"filesOpenedForExternalSort": <long>,
1083+
"filesClosedForExternalSort": <long>,
1084+
"spilledRanges": <long>,
1085+
"bytesSpilled": <long>
1086+
}
1087+
1088+
.. serverstatus:: indexBulkBuilder
1089+
1090+
Provides metrics for index bulk builder operations. Use these metrics to
1091+
diagnose index build issues with :dbcommand:`createIndexes`, collection
1092+
cloning during initial sync, index builds that resume after startup, and
1093+
statistics on disk usage by the external sorter.
1094+
1095+
.. serverstatus:: indexBuildBuilder.bytesSpilled
1096+
1097+
.. versionadded:: 6.0.4
1098+
1099+
The number of bytes written to disk by the external sorter.
1100+
1101+
.. serverstatus:: indexBuilder.bytesSpilledUncompressed
1102+
1103+
.. versionadded:: 6.0.4
1104+
1105+
The number of bytes to be written to disk by the external sorter
1106+
before compression.
1107+
1108+
.. serverstatus:: indexBulkBuilder.count
1109+
1110+
The number of instances of the bulk builder created.
1111+
1112+
.. serverstatus:: indexBulkBuilder.filesClosedForExternalSort
1113+
1114+
The number of times the external sorter closed a file handle to spill data
1115+
to disk. Combine this value with
1116+
:serverstatus:`~indexBulkBuilder.filesOpenedForExternalSort` to determine
1117+
the number of open file handles in use by the external sorter.
1118+
1119+
.. serverstatus:: indexBulkBuilder.filesOpenedForExternalSort
1120+
1121+
The number of times the external sorter opened a file handle to spill data
1122+
to disk. Combine this value with
1123+
:serverstatus:`~indexBulkBuilder.filesClosedForExternalSort` to determine
1124+
the number of open file handles in use by the external sorter.
1125+
1126+
.. serverstatus:: indexBulkBuilder.resumed
1127+
1128+
The number of times the bulk builder was created for a resumable index build.
1129+
1130+
.. serverstatus:: indexBulkBuilder.spilledRanges
1131+
1132+
.. versionadded:: 6.0.4
1133+
1134+
The number of times the external sorter spilled to disk.
1135+
10731136
.. _server-status-instance-information:
10741137

10751138
Instance Information

0 commit comments

Comments
 (0)