Change LRUCache size of rocksdb to 512MB (#9509)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-09 11:08:56 +08:00 committed by GitHub
parent dfd9c148c4
commit a6e97e0d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type RocksdbKV struct {
const (
// LRUCacheSize is the lru cache size of rocksdb, default 3 << 30
LRUCacheSize = 3 << 30
LRUCacheSize = 512 * 1024 * 1024
)
// NewRocksdbKV returns a rockskv object

View File

@ -38,7 +38,7 @@ var RocksmqPageSize int64 = 2 << 30
const (
DefaultMessageID = "-1"
FixedChannelNameLen = 320
RocksDBLRUCacheCapacity = 3 << 30
RocksDBLRUCacheCapacity = 512 * 1024 * 1024
kvSuffix = "_meta_kv"