Recently, we found that the .log file of rocksdb, the underlying storage engine of Nebula, takes up much more disk space when viewed with du or ls -s than the file size viewed with ls -dl. It has been observed that a 5MB .log file takes up 72MB of disk space , I would like to ask the heroes of the community, does rocksdb have the option to close or control the pre-occupancy of disk space for its .log files?
Why does the .log file of rocksdb take up so much disk space, and what is its purpose?