By default, RocksDB sets target_file_size_base
to 64 MB
and target_file_size_multiplier
to 1
. The comments in the code mention that:
Target file size for level L can be calculated by
target_file_size_base * (target_file_size_multiplier ^ (L-1))
. By defaulttarget_file_size_multiplier
is 1, which means by default files in different levels will have similar size.
However, when target_file_size_multiplier
is 1
, the target file size for a level will be equal to target_file_size_base
so how will the number of files per level be determined?