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

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

    XMLWordPrintableJSON

Details

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                13 weeks, 5 days ago