Skip to content

Update source/reference/server-status.txt #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions source/reference/server-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------

Expand Down