Details
Description
Description
In this patch, we add the following server parameters: maxOplogTruncationPointsAfterStartup, maxOplogTruncationPointsDuringStartup, minOplogTruncationPoints, oplogTruncationPointSizeMB.
We also add a section to serverStatus called "oplogTruncation", with the fields totalTimeProcessingMicros, processingMethod, truncateCount, and totalTimeTruncatingMicros. The former two fields refer to the total time necessary to process (either by sampling or by scanning) the oplog on start up in order to determine oplog truncation points. The latter two fields refer to oplog truncation count and duration.
Description of Linked Ticket
In order to best educate a solution for SERVER-42175, we should generate some data on start up and truncation performance with respect to different sizes of OplogStones.
We should add server parameters for maximum counts of OplogStones and minimum sizes of OplogStones. Additionally, we should track:
- How long oplog sampling takes on start up
- Average amount of time spent truncating
- Cumulative length of time spent truncating
- Cumulative amount of truncate calls
3. and 4. allow us to determine the average amount of time spent truncating.
Scope of changes
- 4.2 - WT only
- 4.4 - WT and inMemory (
DOCS-13130)
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- documents
-
SERVER-43322 Add tracking tools for measuring OplogStones performance
-
- Closed
-
- is cloned by
-
DOCS-13130 4.4 Docs for SERVER-43322: Add tracking tools for measuring OplogStones performance
-
- Closed
-
- is related to
-
DOCS-13222 Document backport of SERVER-43322 to 4.0 and 3.6
-
- Closed
-