Skip to content

Commit 7d88136

Browse files
committed
DOCS-14455 Add references for numHosts targeted in shardingStatistics
1 parent 3e73a10 commit 7d88136

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

source/reference/command/serverStatus.txt

+14-13
Original file line numberDiff line numberDiff line change
@@ -2751,19 +2751,20 @@ shardingStatistics
27512751

27522752
.. include:: /includes/fact-server-status-num-hosts-targeted.rst
27532753

2754-
.. note:: Running the :dbcommand:`serverStatus` on :binary:`mongos`
2755-
will provide insight into the aggregation operations find,
2756-
insert, update, delete and aggregate that run on a sharded
2757-
cluster.
2758-
2759-
Multi-shard operations can either be
2760-
:ref:`scatter-gather<sharding-query-patterns>`
2761-
or shard specific. Multi-shard scatter-gather operations can
2762-
:ref:`consume more resources<sharding-troubleshooting-scatter-gather>`,
2763-
by using the
2764-
:serverstatus:`shardingStatistics.numHostsTargeted`
2765-
metrics you can tune the aggregation queries that run on a
2766-
sharded cluster.
2754+
.. note::
2755+
2756+
Running the :dbcommand:`serverStatus` command on :binary:`mongos`
2757+
will provide insight into the CRUD and aggregation operations that
2758+
run on a sharded cluster.
2759+
2760+
Multi-shard operations can either be
2761+
:ref:`scatter-gather<sharding-query-patterns>`
2762+
or shard specific. Multi-shard scatter-gather operations can
2763+
:ref:`consume more resources<sharding-troubleshooting-scatter-gather>`.
2764+
By using the
2765+
:serverstatus:`shardingStatistics.numHostsTargeted`
2766+
metrics you can tune the aggregation queries that run on a
2767+
sharded cluster.
27672768

27682769
shardedIndexConsistency
27692770
~~~~~~~~~~~~~~~~~~~~~~~

source/release-notes/4.4.txt

-2
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)