Skip to content

Conversation

@lqxhub
Copy link
Collaborator

@lqxhub lqxhub commented Apr 5, 2023

feat:support rocksdb compression_per_level #1287

@wanghenshui
Copy link
Collaborator

compression和compression_per_level两个只能一个生效

想要的效果:如果用户没设置per_level,pika帮忙设置,l0 l1不压缩,剩下的层按照用户配置的压缩来设置

@lqxhub
Copy link
Collaborator Author

lqxhub commented Apr 6, 2023

compression和compression_per_level两个只能一个生效

想要的效果:如果用户没设置per_level,pika帮忙设置,l0 l1不压缩,剩下的层按照用户配置的压缩来设置

compression和compression_per_level如果同时设置了 rocksdb 是只有compression_per_level生效
如果用户没设置per_level, 这个我加一个默认处理, 如果用户没有配置, 默认 l0 l1 不压缩, l2及以后, 使用compression配置的压缩格式

@wanghenshui wanghenshui merged commit d03f8a4 into OpenAtomFoundation:unstable Apr 8, 2023
@lqxhub lqxhub deleted the compression branch May 7, 2023 06:26
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants