diff --git a/source/reference/server-status.txt b/source/reference/server-status.txt index 7dd3b3d7a22..e578eba5770 100644 --- a/source/reference/server-status.txt +++ b/source/reference/server-status.txt @@ -552,6 +552,62 @@ opcounters of commands issued to the database since the :program:`mongod` instance last started. +opcountersRepl +----------- + +.. status:: opcountersRepl + + The :status:`opcountersRepl` data structure, similar to the + :status:`opcounters` data structure, provides an overview of + database replication operations by type and makes it possible to + analyze the load on the replica in more granular manner. These + values only appear when the current host has replication enabled. + + These values will differ from the primary :status:`opcounters` because + of how operations are serialized during replication. See + :doc:`/core/replication` for more information on replication. + + These numbers will grow over time and in response to database + use. Analyze these values over time to track database utilization. + +.. status:: opcountersRepl.insert + + :status:`opcountersRepl.insert` provides a counter of the total number + of replicated insert operations since the :program:`mongod` instance + last started. + +.. status:: opcountersRepl.query + + :status:`opcountersRepl.query` provides a counter of the total number + of replicated queries since the :program:`mongod` instance last + started. + +.. status:: opcountersRepl.update + + :status:`opcountersRepl.update` provides a counter of the total number + of replicated update operations since the :program:`mongod` instance + last started. + +.. status:: opcountersRepl.delete + + :status:`opcountersRepl.delete` provides a counter of the total number + of replicated delete operations since the :program:`mongod` instance + last started. + +.. status:: opcountersRepl.getmore + + :status:`opcountersRepl.getmore` provides a counter of the total number + of "getmore" operations since the :program:`mongod` instance last + started. This counter can be high even if the query count is low. + Secondary nodes send ``getMore`` operations as part of the replication + process. + +.. status:: opcountersRepl.command + + :status:`opcountersRepl.command` provides a counter of the total number + of replicated commands issued to the database since the + :program:`mongod` instance last started. + asserts -------