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

[Aggregation] Memory usage can go high with infinite number of distinct groups produced by aggregation's 'group by' clause #1696

Closed
senthuran16 opened this issue Oct 12, 2020 · 0 comments
Assignees

Comments

@senthuran16
Copy link
Member

Description:
As of now, when using aggregations, we maintain a bucket for each distinct group produced by the group by clause of the aggregation, in memory. Due to this, memory usage depends on the number of such distinct groups.

When the number of distinct groups is not finite, memory consumption will not be finite as well.
In order to avoid this, we should avoid keeping these buckets in memory forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants