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

Make explanation of multikey index usage for sort more clear

      Description

      this page says:

      As a result of changes to sorting behavior on array fields in MongoDB 3.6, when sorting on an array indexed with a multikey index the query plan includes a blocking SORT stage. The new sorting behavior may negatively impact performance.

      Since SERVER-31898 has been fixed, the situation now (4.4 and later) is that we may, under certain circumstances, use the index (instead of a blocking sort) to answer these queries.

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

            Assignee:
            ashley.brown@mongodb.com Ashley Brown
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

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