Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13326

Suggest using $collStats as an alternative on the collStats command page

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              1 year, 23 weeks, 4 days ago