Skip to content

Commit b790429

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14455 Add references for numHosts targeted in shardingStatistics
1 parent 9d77215 commit b790429

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

source/reference/command/serverStatus.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3405,19 +3405,20 @@ shardingStatistics
34053405

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

3408-
.. note:: Running the :dbcommand:`serverStatus` on :binary:`mongos`
3409-
will provide insight into the aggregation operations find,
3410-
insert, update, delete and aggregate that run on a sharded
3411-
cluster.
3412-
3413-
Multi-shard operations can either be
3414-
:ref:`scatter-gather<sharding-query-patterns>`
3415-
or shard specific. Multi-shard scatter-gather operations can
3416-
:ref:`consume more resources<sharding-troubleshooting-scatter-gather>`,
3417-
by using the
3418-
:serverstatus:`shardingStatistics.numHostsTargeted`
3419-
metrics you can tune the aggregation queries that run on a
3420-
sharded cluster.
3408+
.. note::
3409+
3410+
Running the :dbcommand:`serverStatus` command on :binary:`mongos`
3411+
will provide insight into the CRUD and aggregation operations that
3412+
run on a sharded cluster.
3413+
3414+
Multi-shard operations can either be
3415+
:ref:`scatter-gather<sharding-query-patterns>`
3416+
or shard specific. Multi-shard scatter-gather operations can
3417+
:ref:`consume more resources<sharding-troubleshooting-scatter-gather>`.
3418+
By using the
3419+
:serverstatus:`shardingStatistics.numHostsTargeted`
3420+
metrics you can tune the aggregation queries that run on a
3421+
sharded cluster.
34213422

34223423
.. serverstatus:: shardingStatistics.resharding.coordinatorState
34233424

source/release-notes/4.4.txt

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

1923-
CRUD Operations and Aggregations
1924-
19251923
:serverstatus:`shardingStatistics.numHostsTargeted`
19261924
which reports the number of shards targeted by CRUD operations and
19271925
aggregation commands. The relevant find, insert, update, delete or

0 commit comments

Comments
 (0)