We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235b105 commit cb0aa67Copy full SHA for cb0aa67
docker/kvrocks.conf
@@ -14,5 +14,16 @@ log-level info
14
# RocksDB settings
15
rocksdb.compression snappy
16
rocksdb.max_open_files 4096
17
+# Block cache size in MB (default 4096MB - too high for most containers)
18
+rocksdb.block_cache_size 512
19
+# Write buffer size in MB (default 64MB)
20
+rocksdb.write_buffer_size 256
21
+rocksdb.max_write_buffer_number 4
22
-rocksdb.ttl 1814400
23
+rocksdb.ttl 1296000
24
+
25
+# Compaction scheduler - checks every hour
26
+compaction-checker-cron * * * * *
27
+# Force compact files older than 48 hours with at least 10% deleted records
28
+force-compact-file-age 172800
29
+force-compact-file-min-deleted-percentage 10
0 commit comments