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