[SERVER-62277] Performance regression from dbstats due to occupied disk space calculation Created: 28/Dec/21  Updated: 18/Nov/23  Resolved: 19/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.0
Fix Version/s: 5.3.0, 5.0.6, 5.2.1

Type: Bug Priority: Critical - P2
Reporter: Dmitry Agranat Assignee: Daniel Gomez Ferro
Resolution: Fixed Votes: 4
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-15046 [SERVER] Investigate changes in SERVE... Closed
Problem/Incident
is caused by SERVER-50756 add occupied disk size to dbstats Closed
Related
is related to WT-8899 Optimize BLOCK_REUSE_BYTES metric que... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Backport Requested:
v5.2, v5.0
Sprint: Execution Team 2022-01-24
Participants:
Case:

 Description   

After SERVER-50756, by default, the dbStats command now returns how much unoccupied storage space is being used for collections,
indexes, and in total: freeStorageSize, indexFreeStorageSize, and totalFreeStorageSize.

For customers with many tables, this feature adds a performance regression.



 Comments   
Comment by Githook User [ 20/Jan/22 ]

Author:

{'name': 'Daniel Gómez Ferro', 'email': 'daniel.gomezferro@mongodb.com', 'username': 'dgomezferro'}

Message: SERVER-62277 Add `freeStorage` option to dbstats, off by default
Branch: v5.2
https://github.com/mongodb/mongo/commit/0cbc1b5c47eb38bec0daef02ad53c6396b32d333

Comment by Githook User [ 19/Jan/22 ]

Author:

{'name': 'Daniel Gómez Ferro', 'email': 'daniel.gomezferro@mongodb.com', 'username': 'dgomezferro'}

Message: SERVER-62277 Add `freeStorage` option to dbstats, off by default
Branch: v5.0
https://github.com/mongodb/mongo/commit/bd3f8756a321e70067e200b509b20c0795cc130b

Comment by Githook User [ 18/Jan/22 ]

Author:

{'name': 'Daniel Gómez Ferro', 'email': 'daniel.gomezferro@mongodb.com', 'username': 'dgomezferro'}

Message: SERVER-62277 Add `freeStorage` option to dbstats, off by default
Branch: master
https://github.com/mongodb/mongo/commit/1746c701d666b45f7df770d25a8b09a3d1e22fa1

Generated at Thu Feb 08 05:54:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.