-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
SpoolConsumerStage has access to a buffer and returns data read from it. The buffer is populated by one of the spool producer stages and it is possible that it has spilled to disk.
SpoolConsumerStage should have a method that will allow it to retrieve data from a spilled buffer. The stage should make sure to keep the memory usage below the maximum allowed memory threshold at any moment.
The maximum allowed memory, is defined in internalQueryMaxSpoolDiskUsageBytes query knob.
- has to be done before
-
SERVER-98090 SpoolEagerProducerStage should spill if allowDiskUse is specified and memory usage has exceeded some limit
- Backlog
-
SERVER-98091 SpoolLazyProducerStage should spill if allowDiskUse is specified and memory usage has exceeded some limit
- Backlog