-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When reviewing a plan, it would be nice to know the amount of memory each individual ExecutionPlan allocated during its execution.
Describe the solution you'd like
Add two new metrics to all operators:
- Total memory allocated when it is read
- Peak memory allocated (maximum value of memory allocated)
"Allocated" should include both memory in created record batches as well as any internal memory (as described in #898 -- hopefully this code would just use the same underlying allocation measurement)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Probably could follow the same model as #866 (baseline metrics for all operators) once that is implemented
#898 is for tracking overall memory allocations across all operators in a plan. This issue is for tracking the allocations for each individual operator