When scanning multi-key indexes, deduplication can consume unbounded amount of memory. In Classic we introduced more memory-efficient solution in SERVER-87976.
We should do the same for SBE.
- is related to
-
SERVER-97929 UniqueStage should spill if allowDiskUse is specified and memory usage has exceeded some limit
-
- Open
-
- related to
-
SERVER-87976 Use roaring bitmaps for RecordId deduplication in IndexScan stage
-
- Closed
-