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

[Feature]: Add a limit for RAM per DB #38012

Open
1 task done
iurii-stepanov opened this issue Nov 25, 2024 · 4 comments
Open
1 task done

[Feature]: Add a limit for RAM per DB #38012

iurii-stepanov opened this issue Nov 25, 2024 · 4 comments
Assignees
Labels
kind/feature Issues related to feature request from users

Comments

@iurii-stepanov
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

I'm looking for a way to limit memory usage for databases. Right now I have multiple teams fighting for query node memory.

Describe the solution you'd like.

Database memory limit option

Describe an alternate solution.

No response

Anything else? (Additional Context)

Perhaps there is an alternative way to limit the use of operational memory for databases. Please advise. Maybe I should use the option https://milvus.io/docs/configure_quotaandlimits.md#quotaAndLimitslimitWritingdiskProtectiondiskQuotaPerDB ?

@iurii-stepanov iurii-stepanov added the kind/feature Issues related to feature request from users label Nov 25, 2024
@iurii-stepanov
Copy link
Author

I meant QueryNodes RAM limit

@xiaofan-luan
Copy link
Collaborator

If you can probably using https://milvus.io/docs/resource_group.md to isolate resource.
Each DB can be specified to one resource group with several pods so they can be limited

@iurii-stepanov
Copy link
Author

Thanks for the answer.

Do I understand correctly that the amount of RAM (and other resources) cannot be set directly for the ResourceGroup and the minimum amount of allocated resource will be one QueryNode? That is, I can create many small QueryNodes in Kubernetes and allocate resources for groups as a number of QueryNodes?

Unfortunately, I did not find a link between ResourceGroups in Databases, only for Collections. I have RBAC configured for the teams at the Database level. Is it possible to allocate ResourceGroups for databases?

@xiaofan-luan
Copy link
Collaborator

Thanks for the answer.

Do I understand correctly that the amount of RAM (and other resources) cannot be set directly for the ResourceGroup and the minimum amount of allocated resource will be one QueryNode? That is, I can create many small QueryNodes in Kubernetes and allocate resources for groups as a number of QueryNodes?

Unfortunately, I did not find a link between ResourceGroups in Databases, only for Collections. I have RBAC configured for the teams at the Database level. Is it possible to allocate ResourceGroups for databases?

yes you could. you can bind a databse with a group of querynodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Issues related to feature request from users
Projects
None yet
Development

No branches or pull requests

2 participants