You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add table system.user_processes, which will show memory usage and profile counters per user. based on the info stored in ProcessListForUser.
In theory, information can be get from system.processes grouping by user. Motivation for adding a separate table:
Memory usage per user is not a sum of memory usage per query for the user. It may happen when memory is allocated in one scope and deallocated in another (which is usually a bug).
It may be not convenient to sum profile events (it's a map)
Entry for the user is stored even if there are no running queries. Info like peak memory usage may be useful.
The text was updated successfully, but these errors were encountered:
Use case
Add table
system.user_processes
, which will show memory usage and profile counters per user. based on the info stored in ProcessListForUser.In theory, information can be get from
system.processes
grouping byuser
. Motivation for adding a separate table:The text was updated successfully, but these errors were encountered: