linxGnu / grocksdb

RocksDB wrapper for Go. Support 9.x, 8.x, 7.x, 6.x, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adjust block max size for Flash

linxGnu opened this issue · comments

@unrealhoang @Permagate

As I research a lot on leveldb/rocksdb sst file, I recommend setting Block Max Size to at least 8MB and at most 32MB for Flash raft store.

Example:

func (opts *BlockBasedTableOptions) SetBlockSize(blockSize int) {

Sorry for my previous recommend. I would correct it: disable filter might help in reduce io, sst file size.

I think in most of cases , hit rate is pretty high. So we might not need bloom filter or any kind of filter.