Tracking: optimize window function execution
Author: dqhl76Created Sep 18, 2026Updated Sep 18, 2026
Summary
- Reduce memory usage during execution
- Improve performance when node in high memory pressure
- Reduce or eliminate extra hashing overhead:
- In cluster mode, the same key may currently be hashed twice during window function execution.
- Improve Top-N optimization
- filtering earlier in the execution pipeline where possible. reduce the amount of intermediate data that needs to be processed and buffered.
Source: databendlabs/databend