-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Server status dur1 #258
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
Server status dur1 #258
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -986,10 +986,21 @@ Journaling | |
|
|
||
| .. status:: dur | ||
|
|
||
| The :status:`dur` (for "durability") data structure contains data | ||
| regarding MongoDB's journaling. :program:`mongod` must be running | ||
| with journaling for these data to appear in the output of | ||
| ":dbcommand:`serverStatus`". | ||
| The :status:`dur` (for "durability") document contains data | ||
| regarding the :program:`mongod`'s journaling-related operations and | ||
| performance. :program:`mongod` must be running with journaling for | ||
| these data to appear in the output of ":dbcommand:`serverStatus`". | ||
|
|
||
| .. note:: | ||
|
|
||
| The data values are **not** cumulative but are reset on a regular | ||
| basis as determined by the `journal group commit interval | ||
| <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
| This interval is ~100 milliseconds (ms) by default (or 30ms if the | ||
| journal file is on the same file system as your data files) and | ||
| is cut by 1/3 when there is a :dbcommand:`getLastError` command | ||
| pending. The interval is configurable using the | ||
| ``--journalCommitInterval`` option. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be a cross reference. |
||
|
|
||
| See the ":wiki:`Journaling`" wiki page for more information about | ||
| journaling operations. | ||
|
|
@@ -998,73 +1009,70 @@ Journaling | |
|
|
||
| .. status:: dur.commits | ||
|
|
||
| The :status:`dur.commits` value provides the number of commits to the | ||
| journal in the last commit interval. | ||
|
|
||
| MongoDB groups commits to the journal to improve performance. By | ||
| default the interval is 100 milliseconds (ms), but the interval is | ||
| configurable as a run-time option and can range from 2ms to 300ms. | ||
| The :status:`dur.commits` provides the number of transactions | ||
| written to :term:`journal` during the last `journal group commit | ||
| interval <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
|
|
||
| .. status:: dur.journaledMB | ||
|
|
||
| The :status:`dur.journaledMB` value provides the amount of data in | ||
| megabytes (MB) written to the journal in the last commit interval. | ||
|
|
||
| MongoDB groups commits to the journal to improve performance. By | ||
| default the commit interval is 100 milliseconds (ms), but the | ||
| interval is configurable as a run-time option and can range from | ||
| 2ms to 300ms. | ||
| The :status:`dur.journaledMB` provides the amount of data in | ||
| megabytes (MB) written to :term:`journal` during the last `journal group | ||
| commit interval | ||
| <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
|
|
||
| .. status:: dur.writeToDataFilesMB | ||
|
|
||
| The :status:`dur.writeToDataFilesMB` value provides the amount of data in | ||
| megabytes (MB) written from the journal to the data files in the | ||
| last commit interval. | ||
|
|
||
| MongoDB groups Commits to the journal to improve performance. By | ||
| default the commit interval is 100 milliseconds (ms), but the | ||
| interval is configurable as a run-time option and can range from | ||
| 2ms to 300ms. | ||
| The :status:`dur.writeToDataFilesMB` provides the amount of data in | ||
| megabytes (MB) written from :term:`journal` to the data files during the | ||
| last `journal group | ||
| commit interval | ||
| <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
|
|
||
| .. status:: dur.compression | ||
|
|
||
| .. versionadded:: 2.0 | ||
|
|
||
| The :status:`dur.compression` represents the compression ratio of | ||
| :term:`journal`. | ||
| the data written to the :term:`journal`: | ||
|
|
||
| .. code-block:: javascript | ||
|
|
||
| ( journaled_size_of_data / uncompressed_size_of_data ) | ||
|
|
||
| .. status:: dur.commitsInWriteLock | ||
|
|
||
| The value of the field :status:`dur.commitsInWriteLock` provides a count | ||
| of the commits that behind a write lock. Commits in a write lock | ||
| are undesirable and may indicate a capacity limitation for the | ||
| database. | ||
| The :status:`dur.commitsInWriteLock` provides a count of the commits | ||
| that occurred while a write lock was held. Commits in a write lock | ||
| indicate a MongoDB node under a heavy write load and call for | ||
| further diagnosis. | ||
|
|
||
| .. status:: dur.earlyCommits | ||
|
|
||
| The :status:`dur.earlyCommits` value reflects the number of time MongoDB | ||
| requested a commit before the scheduled commit interval. Use this | ||
| value to ensure that your journal commit interval is not too long | ||
| for your deployment | ||
|
|
||
| timeMS | ||
| ~~~~~~ | ||
| requested a commit before the scheduled `journal group commit | ||
| interval <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
| Use this value to ensure that your `journal group commit interval | ||
| <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these should be wiki links. (change throughout) |
||
| is not too long for your deployment. | ||
|
|
||
| .. status:: dur.timeMS | ||
|
|
||
| The :status:`dur.timeMS` data structure provides information about the | ||
| performance of the :program:`mongod` instance for journaling operations. | ||
| The :status:`dur.timeMS` document provides information about the | ||
| performance of the :program:`mongod` instance during the various | ||
| phases of journaling in the last `journal group commit | ||
| interval | ||
| <http://www.mongodb.org/display/DOCS/Journaling#Journaling-GroupCommits>`_. | ||
|
|
||
| .. status:: dur.timeMS.dt | ||
|
|
||
| The :status:`dur.timeMS.dt` value provides, in milliseconds, the length | ||
| The :status:`dur.timeMS.dt` value provides, in milliseconds, the amount | ||
| of time over which MongoDB collected the :status:`dur.timeMS` data. Use | ||
| this field to provide context to the adjacent values. | ||
| this field to provide context to the other dur.timeMS field values. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cross reference. |
||
|
|
||
| .. status:: dur.timeMS.prepLogBuffer | ||
|
|
||
| The :status:`dur.timeMS.prepLogBuffer` value provides, in milliseconds, | ||
| the amount of time preparing to write to the journal. Smaller | ||
| the amount of time spent preparing to write to the journal. Smaller | ||
| values indicate better journal performance. | ||
|
|
||
| .. status:: dur.timeMS.writeToJournal | ||
|
|
@@ -1083,7 +1091,7 @@ timeMS | |
| .. status:: dur.timeMS.remapPrivateView | ||
|
|
||
| The :status:`dur.timeMS.remapPrivateView` value provides, in | ||
| milliseconds, the amount of time remapping copy-on-write memory | ||
| milliseconds, the amount of time spent remapping copy-on-write memory | ||
| mapped views. Smaller values indicate better journal performance. | ||
|
|
||
| .. _server-status-recordstats: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mongod's rendering. I think it probably ought to be "the mongod instance's.."