0 Replies Latest reply on Jan 4, 2016 12:19 PM by Ted Laricot

    levelDb does not generate .sst files larger than 4.1 MB

    Ted Laricot Newbie



      I am currently setting up a levelDb cache store that will be used by ModeShape (4.5).

      ModeShape is set to use a binary storage of type "cache".


      After several performance tests, I noticed that levelDb does not create .sst files larger that 4.1 MB (even after writing thousands of files and/or several large files ( > 1 GB)).

      According to levelDb LOG file, compacting is enabled and .sst files from level-0, level-1, level-2, level-3, ... are present in a single folder but there is no .sst file larger that 4.1 MB, resulting in an important .sst total file count.


      In the levelDb implementation note (http://leveldb.googlecode.com/git-history/1.17/doc/impl.html), it seems that .sst file size differs according to the level number with larger file size the deeper level we are.


      Is this behavior expected or am I missing something ?

      Many thanks in advance for you help.