OpenAtomFoundation / pika

Pika is a Redis-Compatible database developed by Qihoo's infrastructure team.
BSD 3-Clause "New" or "Revised" License
5.84k stars 1.19k forks source link

动态配置sst文件大小 #1129

Closed wanghenshui closed 7 months ago

wanghenshui commented 2 years ago

参考 https://github.com/KvrocksLabs/kvrocks/pull/120 https://github.com/KvrocksLabs/kvrocks/pull/368/

ghost commented 1 year ago

这个issue实际上是上包括了两个内容,一个是自动调整sst size 一个是支持动态配置sst size

  1. 看了incubator-kvrocks相关的资料,最早实际上是为了解决大key的问题,但是带来的问题是sst可能会增多,因为rocksdb 支持blobdb了,所以这个功能我看已经废弃了,我觉得也没有必要在做了
  2. 是支持动态配置sst大小,是可以支持的
AlexStocks commented 1 year ago
        * 0429 可参考 pr https://github.com/OpenAtomFoundation/pika/pull/1134/files 
        * 0520 chuande own
        * 0527 chuande 跟进
        * 0603 https://github.com/OpenAtomFoundation/pika/pull/1574(待处理)
        * 0624chuande继续跟进
        * 0701 继续推进
        * 0708 功能已完善,后面添加单测