jacktengg opened a new pull request, #30538: URL: https://github.com/apache/doris/pull/30538
## Proposed changes Issue Number: close #xxx Improve memory counters for operators, e.g.: scanner merged: ``` VScanner: - MemoryUsage: sum , avg , max , min - FreeBlocks: sum 1.98 GB, avg 42.16 MB, max 75.55 MB, min 14.25 MB - QueuedBlocks: sum 2.35 GB, avg 50.13 MB, max 81.64 MB, min 27.02 MB ``` scanner: ``` VScanner: - MemoryUsage: - FreeBlocks: 15.53 MB - QueuedBlocks: 36.12 MB ``` hash join sink merged: ``` HASH_JOIN_SINK_OPERATOR (id=44): - MemoryUsage: sum , avg , max , min - BuildBlocks: sum 31.28 MB, avg 667.33 KB, max 674.78 KB, min 659.93 KB - BuildKeyArena: sum 17.19 MB, avg 366.75 KB, max 372.00 KB, min 364.00 KB - HashTable: sum 9.38 MB, avg 200.15 KB, max 200.96 KB, min 199.35 KB - PeakMemoryUsage: sum 57.67 MB, avg 1.20 MB, max 1.21 MB, min 1.19 MB ``` hash join sink: ``` HASH_JOIN_SINK_OPERATOR (id=43): - MemoryUsage: - BuildBlocks: 681.86 KB - BuildKeyArena: 376.00 KB - HashTable: 201.72 KB - PeakMemoryUsage: 1.23 MB ``` sort sink merged: ``` SORT_SINK_OPERATOR (id=45): - MemoryUsage: sum , avg , max , min - PeakMemoryUsage: sum 5.73 MB, avg 122.22 KB, max 129.96 KB, min 114.84 KB - SortBlocks: sum 5.73 MB, avg 122.22 KB, max 129.96 KB, min 114.84 KB ``` sort sink: ``` SORT_SINK_OPERATOR (id=45): - MemoryUsage: - PeakMemoryUsage: 121.77 KB - SortBlocks: 121.77 KB ``` ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org