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

What can I do to keep the memory low and log files occupied less space without restarting Rocksdb #10956

Open
imgoby opened this issue Nov 16, 2022 · 1 comment

Comments

@imgoby
Copy link

imgoby commented Nov 16, 2022

With rocksdb, after running for a short time, the memory occupied by the application will change from 1G to 20G, and the log file will occupy 30G. After the application restarts, the initialization of rocksdb will take a long time, such as 10 minutes. The rocksdb log will be reduced from 30G to 300M, and the rocksdb memory will also be reduced a lot, which can be 1G.

What can I do to keep the memory low and log files occupied less space without restarting Rocksdb?

@wangxipu
Copy link

wangxipu commented Dec 6, 2022

reduce max_total_wal_size ?

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

No branches or pull requests

2 participants