Skip to content

Help understanding blob file size #120

Closed Answered by marvin-j97
dbbnrl asked this question in Q&A
Discussion options

You must be logged in to vote

The initial size of blob files is governed by the memtable size, which is 16M by default. So it makes sense that the blob files are ~10-13M initially. When working with large values I would recommend a larger memtable, around 64M maybe (which is the default for RocksDB), so there are less frequent, larger flushes. That should also make the blob files larger.

The KvSeparationOptions::file_target_size is the target size at which a blob file rewrite (GC) will rotate to a new file. So it only matters when actually performing a GC strategy.

But currently there is no strategy to just rewrite some blob files that are not fragmented to reduce the amount of blob files - a strategy to rewrite a lim…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dbbnrl
Comment options

@marvin-j97
Comment options

@dbbnrl
Comment options

@marvin-j97
Comment options

@dbbnrl
Comment options

Answer selected by dbbnrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants