Skip to content
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

Record/emit current memory usage per user #49462

Closed
lwatiker opened this issue May 3, 2023 · 1 comment
Closed

Record/emit current memory usage per user #49462

lwatiker opened this issue May 3, 2023 · 1 comment
Labels

Comments

@lwatiker
Copy link

lwatiker commented May 3, 2023

max_memory_usage_for_user allows configuring a max memory user per user and will reject a request if anticipated to put user over their max quota. However theres currently no way to know know much memory a certain user is using and if they're near the allocated limit.

It'd be great if Clickhouse could export memory memory per user as metric (or write to a systems table) so this value could be used in monitoring and alerting.

@filimonov
Copy link
Contributor

select * from system.user_processes;

#50492

@lwatiker lwatiker closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants