Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50756

add occupied disk size to dbstats

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0-alpha0
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-10-05

    Description

      There is a need to calculate the amount of occupied disk space a database is consuming. This can be useful when calculating whether a database could be physically moved to a smaller disk size. Currently, only the on-disk file size is reported by dbstats, but this includes unoccupied blocks in files.
      To calculate this for WiredTiger, we can use block_reuse_bytes statistic per file, versus block_size.

      Attachments

        Issue Links

          Activity

            People

              louis.williams@mongodb.com Louis Williams
              milkie@mongodb.com Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: