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

State explicitly that sizeOnDisk already includes indexSize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • None
    • manual, Server
    • None
    • ServerDocs2020: Aug24 - Aug31

    Description

      Description

      In https://docs.mongodb.com/manual/reference/command/listDatabases/index.html, it states:

      A sizeOnDisk field with the total size of the database files on disk in bytes.

      and

      The sizeOnDisk field represents the total size of all listed collections.

      So we already state that it represents the actual total size on disk, therefore it is including the byte count of the indexes.

      In order to be very clear, I suggest we change the second quote to:

      The sizeOnDisk field represents the total size of all listed collections (including indexes).

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Issue Links

          Activity

            People

              jason.price@mongodb.com Jason Price
              nicholas.cottrell@mongodb.com Nic Cottrell
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 4 weeks, 1 day ago