Skip to content

Commit 920dbc7

Browse files
committed
DOCS-14455 Add references for numHosts targeted in shardingStatistics
1 parent f1c8c4b commit 920dbc7

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3405,6 +3405,7 @@ shardingStatistics
34053405

34063406
.. include:: /includes/fact-server-status-num-hosts-targeted.rst
34073407

3408+
<<<<<<< HEAD
34083409
.. note:: Running the :dbcommand:`serverStatus` on :binary:`mongos`
34093410
will provide insight into the aggregation operations find,
34103411
insert, update, delete and aggregate that run on a sharded
@@ -3418,6 +3419,22 @@ shardingStatistics
34183419
:serverstatus:`shardingStatistics.numHostsTargeted`
34193420
metrics you can tune the aggregation queries that run on a
34203421
sharded cluster.
3422+
=======
3423+
.. note::
3424+
3425+
Running the :dbcommand:`serverStatus` command on :binary:`mongos`
3426+
will provide insight into the CRUD and aggregation operations that
3427+
run on a sharded cluster.
3428+
3429+
Multi-shard operations can either be
3430+
:ref:`scatter-gather<sharding-query-patterns>`
3431+
or shard specific. Multi-shard scatter-gather operations can
3432+
:ref:`consume more resources<sharding-troubleshooting-scatter-gather>`.
3433+
By using the
3434+
:serverstatus:`shardingStatistics.numHostsTargeted`
3435+
metrics you can tune the aggregation queries that run on a
3436+
sharded cluster.
3437+
>>>>>>> 8248da121 (DOCS-14455 Add references for numHosts targeted in shardingStatistics)
34213438

34223439
.. serverstatus:: shardingStatistics.resharding.coordinatorState
34233440

source/release-notes/4.4.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,8 +1920,11 @@ output:
19201920
``serverStatus`` Sharding Statistics Output Change
19211921
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19221922

1923+
<<<<<<< HEAD
19231924
CRUD Operations and Aggregations
19241925

1926+
=======
1927+
>>>>>>> 8248da121 (DOCS-14455 Add references for numHosts targeted in shardingStatistics)
19251928
:serverstatus:`shardingStatistics.numHostsTargeted`
19261929
which reports the number of shards targeted by CRUD operations and
19271930
aggregation commands. The relevant find, insert, update, delete or

0 commit comments

Comments
 (0)