pika icon indicating copy to clipboard operation
pika copied to clipboard

compact old sst files

Open AlexStocks opened this issue 1 year ago • 3 comments

image image image image image

AlexStocks avatar Sep 28 '23 07:09 AlexStocks

补充:微博在线上关闭了 compaction,然后修改了代码,每分钟执行一次 compact old sst file 中过时数据的操作。其数据特征过期数据的 key 的前缀大部分是比较连续的。

AlexStocks avatar Sep 28 '23 07:09 AlexStocks

RocksDB 已经实现了类似的功能 https://github.com/facebook/rocksdb/wiki/Leveled-Compaction#ttl

AlexStocks avatar Sep 28 '23 09:09 AlexStocks

rocksdb已经支持相关功能,可以通过修改参数配置生效。

baixin01 avatar Feb 21 '24 02:02 baixin01

pika 的配置文件中已经有了相关参数, 可以 close 掉该 issue?

dingxiaoshuai123 avatar Apr 22 '24 09:04 dingxiaoshuai123

Bot detected the issue body's language is not English, translate it automatically.


There are already relevant parameters in pika's configuration file. Can we close the issue?

Issues-translate-bot avatar Apr 22 '24 09:04 Issues-translate-bot