Fork me on GitHub
#xtdb
<
2024-02-22
>
zclj18:02:30

Hi @taylor.jeremydavid and others. I have been running XT v1 on a small production node for about 6 months now, with RocksDB as storage. I notice alot of "LOG.old.<number>" files accumulating, taking up a non-trivial percentage of disk space. Are these files needed or can I safely manually remove them? I didn't find anything about this in the documentation.

refset18:02:10

Hey @U1G8B7ZD3 yes you should be safe to periodically/manually delete those LOG.old.* files (e.g. per https://github.com/facebook/rocksdb/issues/849#issuecomment-158482129). There is also a configuration option to control how many of these Rocks keeps, the default is 1000 https://javadoc.io/doc/org.rocksdb/rocksdbjni/latest/org/rocksdb/DBOptionsInterface.html

zclj17:02:57

Thanks!

🙏 1