xinyiZzz opened a new issue, #36373:
URL: https://github.com/apache/doris/issues/36373

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   ## Goal
   support querying MemTracker memory statistics
   
   **`select * from information_schema.mem_tracker;`**
   show the table in this web `ip:8040/mem_tracker`, return total of all BE and 
add a new column `Backend Host`.
   
![image](https://github.com/apache/doris/assets/13197424/bb152b04-b5e3-4bf1-951d-0e19c6d464c5)
   
   **`select * from information_schema.mem_tracker where type="global"`**
   and supports query by `Type` and `Host`, like this web:
   
![image](https://github.com/apache/doris/assets/13197424/d85ddc6c-b8d2-4df8-b1ab-8b0eb0bd1efe)
   
   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?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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

Reply via email to