facebook / facebook/rocksdb

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

Open
#10,956 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Research direction

First compare the reported memory and log growth with RocksDB's documented behavior, then reproduce it using the described workload. No source file, test, or entry point is named; done would require a narrowed, reproducible failure and a specific code or documentation change.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.