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

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

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • manual

    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
              Ravind Kumar Ravind Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                2 years, 39 weeks, 1 day ago