-
Badger support 2 kinds of compression:
Snappy
andZSTD, but the compress only work for
SSTable`, the value log doesn’t have any compression, Is that right? -
If so, I want to use
ZSTD
compression to compress my data, but the value size is more thanmaxValueThreshold
(1MB), so the compression actually doesn’t work. Is it safe to modify themaxValueThreshold
to10MB
?
- Yes, value logs do not support compression. They do support encryption though.
- Yes, it should be okay to increase it to 10MB.
1 Like