Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13334

Investigate changes in SERVER-42037: Expose WiredTiger block-manager stats with scale support

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: manual

      Description

      Description

      Downstream Change Summary

      Added freeStorageSize field to db.collection.stats() output.
      freeStorageSize = file bytes available for reuse. Currently only outputted for wiredTiger collections.

      Description of Linked Ticket

      Presently the commands db.stats() and db.collection.stats() both accept scale parameters. The WiredTiger stats reported by db.collection.stats() are hard coded by description and value to denote units in bytes only.

      This request is to expose some WiredTiger statistics by mapping them directly into a db.collection.stats() method to support the scale option.

      Notably the WiredTiger "block-manager" stats of interest (but not limited to):

      • db.collection.stats( { scale: 1 }).storageSize maps to "wiredTiger"."block-manager"."file size in bytes"
      • db.collection.stats( { scale: 1 }).freeListSize maps to "wiredTiger"."block-manager"."file bytes available for reuse"

       

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 33 weeks, 1 day ago
                Date of 1st Reply: