Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
-
ServerDocs2020: Aug24 - Aug31
-
(copied to CRM)
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
- is related to
-
DOCS-13281 Say explicitly that listDatabases storageSize includes indexes
-
- Closed
-
- related to
-
SERVER-16917 Return fileSize to db.stats() when using wiredTiger
-
- Closed
-