Skip to content

Commit 0d062a7

Browse files
committed
Update source/reference/server-status.txt
1 parent 26a8afb commit 0d062a7

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

source/reference/server-status.txt

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,62 @@ opcounters
552552
of commands issued to the database since the :program:`mongod`
553553
instance last started.
554554

555+
opcountersRepl
556+
-----------
557+
558+
.. status:: opcountersRepl
559+
560+
The :status:`opcountersRepl` data structure, similar to the
561+
:status:`opcounters` data structure, provides an overview of
562+
database replication operations by type and makes it possible to
563+
analyze the load on the replica in more granular manner. These
564+
values only appear when the current host has replication enabled.
565+
566+
These values will differ from the primary :status:`opcounters` because
567+
of how operations are serialized during replication. See
568+
:doc:`/core/replication` for more information on replication.
569+
570+
These numbers will grow over time and in response to database
571+
use. Analyze these values over time to track database utilization.
572+
573+
.. status:: opcountersRepl.insert
574+
575+
:status:`opcountersRepl.insert` provides a counter of the total number
576+
of replicated insert operations since the :program:`mongod` instance
577+
last started.
578+
579+
.. status:: opcountersRepl.query
580+
581+
:status:`opcountersRepl.query` provides a counter of the total number
582+
of replicated queries since the :program:`mongod` instance last
583+
started.
584+
585+
.. status:: opcountersRepl.update
586+
587+
:status:`opcountersRepl.update` provides a counter of the total number
588+
of replicated update operations since the :program:`mongod` instance
589+
last started.
590+
591+
.. status:: opcountersRepl.delete
592+
593+
:status:`opcountersRepl.delete` provides a counter of the total number
594+
of replicated delete operations since the :program:`mongod` instance
595+
last started.
596+
597+
.. status:: opcountersRepl.getmore
598+
599+
:status:`opcountersRepl.getmore` provides a counter of the total number
600+
of "getmore" operations since the :program:`mongod` instance last
601+
started. This counter can be high even if the query count is low.
602+
Secondary nodes send ``getMore`` operations as part of the replication
603+
process.
604+
605+
.. status:: opcountersRepl.command
606+
607+
:status:`opcountersRepl.command` provides a counter of the total number
608+
of replicated commands issued to the database since the
609+
:program:`mongod` instance last started.
610+
555611
asserts
556612
-------
557613

0 commit comments

Comments
 (0)