Skip to content

Show memory usage in show processlist #2454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BohuTANG opened this issue Oct 26, 2021 · 1 comment
Closed

Show memory usage in show processlist #2454

BohuTANG opened this issue Oct 26, 2021 · 1 comment
Labels
good first issue Category: good first issue

Comments

@BohuTANG
Copy link
Member

BohuTANG commented Oct 26, 2021

Summary

After #2299 and #2356 track a session memory usage, it would be better to add the memory usage to the show processlist:

mysql> SHOW PROCESSLIST;
+--------------------------------------+-----------------+-------+----------+------------------+-------------+
| id                                   | host            | state | database | extra_info       | memory_usage|
+--------------------------------------+-----------------+-------+----------+------------------+--------------+
| 1e6e5ed4-5441-43da-9ed6-eb6ba9baeb64 | 127.0.0.1:60080 | Query | default  | show processlist | 123456 |
| 3d283add-4f60-416d-b9ca-662120614093 | 127.0.0.1:57018 | Query | default  | NULL             | 123456 |
+--------------------------------------+-----------------+-------+----------+------------------+-------------+
@BohuTANG BohuTANG added the good first issue Category: good first issue label Oct 26, 2021
@zhang2014
Copy link
Member

It is already implemented in main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Category: good first issue
Projects
None yet
Development

No branches or pull requests

2 participants