Skip to content

Commit bb85172

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-13918-aggregation-optimizer (#489)
Co-authored-by: jason-price-mongodb <[email protected]>
1 parent d72b5d9 commit bb85172

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/core/aggregation-pipeline-optimization.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,13 @@ option, the ``explain`` output shows the coalesced stage:
383383
}
384384
}
385385

386+
Indexes
387+
-------
388+
389+
Starting in MongoDB 4.2, in some cases, an aggregation pipeline can use
390+
a ``DISTINCT_SCAN`` index plan, which typically has higher performance
391+
than ``IXSCAN``.
392+
386393
Example
387394
-------
388395
.. _agg-sort-skip-limit-sequence:

0 commit comments

Comments
 (0)