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

Clarify which metrics are compressed vs uncompressed in Storage FAQ

    XMLWordPrintableJSON

Details

    Description

      The Storage FAQ states: 

      db.collection.dataSize() to return data size in bytes for the collection.
      db.collection.storageSize() to return allocation size in bytes, including unused space.

      We should clarify in this document that dataSize is uncompressed while storageSize is compressed.

      We make this distinction in the dbStats document but it should be provided here as well for clarity.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            arnie.listhaus@mongodb.com Arnie Listhaus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 8 weeks, 2 days ago