[SERVER-70859] Optimize collStats to not retrieve all data Created: 26/Oct/22  Updated: 11/Nov/22  Resolved: 11/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Pol Pinol Assignee: Pol Pinol
Resolution: Duplicate Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-68855 Optimize $collStats for $shardedDataD... Closed
is depended on by SERVER-68855 Optimize $collStats for $shardedDataD... Closed
Sprint: Sharding EMEA 2022-11-14
Participants:

 Description   

Nowadays, all the calls to collStats call the method "appendCollectionStorageStats" and retrieve all data without filtering anything. The idea is to not calculate unnecessary fields to possibly cause an improvement in performance.



 Comments   
Comment by Pol Pinol [ 11/Nov/22 ]

As part of the fixes / code from SERVER-68855, this ticket will be resolved.

Generated at Thu Feb 08 06:17:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.