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

Cleanup rdb_data folder in milvus #136

Open
mananpreetsingh opened this issue Oct 25, 2024 · 3 comments
Open

Cleanup rdb_data folder in milvus #136

mananpreetsingh opened this issue Oct 25, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mananpreetsingh
Copy link

Environment:

K8: 1.30
Milvus version: v2.4.12
Deploy Mode: STANDALONE

Current Behavior
The size of the rdb_data folder keeps increasing and never cleans up auto.

image

Issue

It seems following config in helm chart is not being supported any more:

standalone:
  rocksmq:
      retentionTimeInMinutes: 60
      retentionSizeInMB: 64
      rocksmqPageSize: "2147483648" ## 2 GB
      lrucacheratio: 0.06 ## rocksdb cache memory ratio

Seems it used to support in helmchart version 3.. and in Helm chart 4.0.0 it stopped supporting. Wonder hoe can we clean up rdb_data folder in milvus either via helm chart config or via cli some how?

@mananpreetsingh
Copy link
Author

mananpreetsingh commented Oct 28, 2024

In latest helm I was able to do it like:

extraConfigFiles:
  user.yaml: |+
    rocksmq:
      retentionTimeInMinutes: 4320
      retentionSizeInMB: 256
      rocksmqPageSize: "67108864" ## 64 MB
      lrucacheratio: 0.06 ## rocksdb cache memory ratio
      compactionInterval: 86400

@haorenfsa haorenfsa added the documentation Improvements or additions to documentation label Oct 29, 2024
@haorenfsa haorenfsa reopened this Oct 29, 2024
@haorenfsa
Copy link
Collaborator

This should be better documented
/assign

@haorenfsa
Copy link
Collaborator

@mananpreetsingh Thank you for feedback!

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

No branches or pull requests

2 participants