[DOCS-13298] State explicitly that sizeOnDisk already includes indexSize Created: 13/Dec/19  Updated: 30/Oct/23  Due: 28/Aug/20  Resolved: 25/Aug/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Nic Cottrell Assignee: Jason Price
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-16917 Return fileSize to db.stats() when us... Closed
is related to DOCS-13281 Say explicitly that listDatabases sto... Closed
Participants:
Days since reply: 3 years, 24 weeks, 1 day ago
Epic Link: DOCSP-1769

 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.)



 Comments   
Comment by Githook User [ 25/Aug/20 ]

Author:

{'name': 'Jason Price', 'email': 'jason.price@mongodb.com', 'username': 'jason-price-mongodb'}

Message: DOCS-13298 sizeondisk includes indexsize
Branch: master
https://github.com/mongodb/docs/commit/8d454ae66a5e00107075feb7b8070f3603d02e0b

Generated at Thu Feb 08 08:07:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.