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 (24,849 stars) (5,002 forks)batch import
help wantedquestion

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