(LedgerStore) Add compression type (#23578)
This PR adds `--rocksdb-ledger-compression` as a hidden argument to the validator for specifying the compression algorithm for TransactionStatus. Available compression algorithms include `lz4`, `snappy`, `zlib`. The default value is `none`. Experimental results show that with lz4 compression, we can achieve ~37% size-reduction on the TransactionStatus column family, or ~8% size-reduction of the ledger store size.
This commit is contained in:
committed by
GitHub
parent
49228573f4
commit
ae75b1a25f
@ -358,6 +358,7 @@ mod tests {
|
||||
..BlockstoreRocksFifoOptions::default()
|
||||
},
|
||||
),
|
||||
..LedgerColumnOptions::default()
|
||||
},
|
||||
..BlockstoreOptions::default()
|
||||
}
|
||||
|
Reference in New Issue
Block a user