Skip to content

Commit ee05dd8

Browse files
author
Sam Kleinman
committed
SERVER-5784 indexCounters are no longer sampled
1 parent 14e63a0 commit ee05dd8

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

source/reference/server-status.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ globalLock
285285

286286
.. status:: globalLock.ratio
287287

288-
.. versionchanged:: 2.2
288+
.. versionchanged:: 2.2
289289
:status:`globalLock.ratio` was removed. See :status:`locks`.
290290

291291
The value of :status:`gobalLock.ratio` displays the relationship between
@@ -478,18 +478,20 @@ indexCounters
478478

479479
.. status:: indexCounters
480480

481-
The :status:`indexCounters` data structure contains information about the
482-
state and use of the indexes in MongoDB.
481+
.. versionchanged:: 2.2
482+
Previously, data in the :status:`indexCounters` document
483+
reported sampled data, and were only useful in relative
484+
comparison to each other, because they could not reflect
485+
absolute index use. In 2.2 and later, these data reflect actual
486+
index use.
483487

484-
MongoDB reports *sampled* values for all fields in the
485-
:status:`indexCounters` sub-document. As a result, these values are
486-
useful in relative comparison to each other, but do not reflect
487-
absolute index use.
488+
The :status:`indexCounters` data structure reports information
489+
regarding the state and use of indexes in MongoDB.
488490

489491
.. status:: indexCounters.btree
490492

491-
The :status:`indexCounters.btree` data structure contains data regarding
492-
MongoDB's :term:`btree` indexes.
493+
The :status:`indexCounters.btree` data structure contains data
494+
regarding MongoDB's :term:`btree` indexes.
493495

494496
.. status:: indexCounters.btree.accesses
495497

@@ -523,8 +525,8 @@ indexCounters
523525

524526
.. status:: indexCounters.btree.resets
525527

526-
The :status:`index Counter.btree.resets` value reflects the number of
527-
times that the index counters have been reset since the database
528+
The :status:`index Counter.btree.resets` value reflects the number
529+
of times that the index counters have been reset since the database
528530
last restarted. Typically this value is ``0``, but use this value
529531
to provide context for the data specified by other
530532
:status:`indexCounters` values.

0 commit comments

Comments
 (0)