taosdata/TDengine

Is it possible to set the rocksdb options `max_log_file_size/keep_log_file_num`

Open

#32,930 opened on Sep 9, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C (5,002 forks)batch import
help wantedquestion

Repository metrics

Stars
 (24,849 stars)
PR merge metrics
 (Avg merge 1d 1h) (4 merged PRs in 30d)

Description

I don't need the LOG files which are created here e.g. /var/lib/taos/vnode/vnode4/tq/stream/0x5940669214c1bdd8-0x1d3c08c2/state/LOG as they are getting really large > 1 GB.

I think with the two options max_log_file_size/keep_log_file_num of rocksdb i could limit the size. Is there a way to set both these options?

Contributor guide