From 1e474cd3209d31dad48ee3fde158fcbe3b649ae9 Mon Sep 17 00:00:00 2001 From: Tpt Date: Wed, 13 Feb 2019 11:19:04 +0100 Subject: [PATCH] Drops RocksDB compression It gives a big hit to SPARQL benchmarks --- lib/src/store/rocksdb.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/store/rocksdb.rs b/lib/src/store/rocksdb.rs index 2a285cb5..122122b3 100644 --- a/lib/src/store/rocksdb.rs +++ b/lib/src/store/rocksdb.rs @@ -8,7 +8,6 @@ use byteorder::LittleEndian; use failure::format_err; use rocksdb::ColumnFamily; use rocksdb::DBCompactionStyle; -use rocksdb::DBCompressionType; use rocksdb::DBRawIterator; use rocksdb::DBVector; use rocksdb::Options; @@ -67,7 +66,6 @@ impl RocksDbStore { options.create_if_missing(true); options.create_missing_column_families(true); options.set_compaction_style(DBCompactionStyle::Universal); - options.set_compression_type(DBCompressionType::Lz4hc); let db = DB::open_cf(&options, path, &COLUMN_FAMILIES)?; let id2str_cf = SendColumnFamily(get_cf(&db, STR2ID_CF)?);