[DOCS-13326] Suggest using $collStats as an alternative on the collStats command page Created: 03/Jan/20  Updated: 30/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: docs-administration, reopened, triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-44891 collStats will fail if resulting BSON... Closed
Participants:
Days since reply: 1 year, 14 weeks ago
Epic Link: DOCSP-22091

 Description   

Description

As described in SERVER-44891, there are cases where collStats can fail because the result is too large. The $collStats aggregation stage returns a cursor and so isn't susceptible to this problem. It seems worth mentioning this on the documentation page here: https://docs.mongodb.com/manual/reference/command/collStats/.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Sarah Olson [ 02/Nov/22 ]

Thanks david.storch@mongodb.com! Appreciate the input.

Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

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