Closed xinyiZzz closed 1 week ago
@Vallishp cc
will work on it.
https://github.com/apache/doris/pull/36679
show all memory state MemTrackerLimiter::make_all_memory_state_snapshots(&snapshots)
, used in mem_tracker_scanner
, this is the result of select * from information_schema.mem_tracker
.
Search before asking
Description
Goal
support querying MemTracker memory statistics
*`select from information_schema.mem_tracker;![image](https://github.com/apache/doris/assets/13197424/7dc795aa-638a-468d-abb2-5b4a2756469e)
** show the table in this web
ip:8040/mem_tracker, return total of all BE and add a new column
Backend Host`.*`select from information_schema.mem_tracker where type="global"![image](https://github.com/apache/doris/assets/13197424/446ac767-110f-478d-8629-5c246f425dbf)
** and supports query by
Typeand
Host`, like this web:this document introduce MemTracker: https://doris.apache.org/docs/admin-manual/memory-management/memory-tracker
TODO: BE use an independent scanner to return result when select
information_schema.table
, so, can create a new mem_tracker_scanner to return MemTracker statistics.Use case
No response
Related issues
No response
Are you willing to submit PR?
Code of Conduct