taosdata/TDengine

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

Open

#32,930 创建于 2025年9月9日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C (24,849 star) (5,002 fork)batch import
help wantedquestion

描述

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?

贡献者指南