baidu / baidu/tera

need a compaction strategy for hot/cold data

Open
#663 0 comments 0 reactions 0 assignees View on GitHub
class/enhancement
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

1、频繁的lowlevelscan触发compact,降低levelt层数,减少key比较,提升读性能;
2、冷数据master触发compact,删除冗余数据,压缩空间;

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing the compaction paths associated with frequent lowlevelscan activity and master-triggered compaction, then determine how hot and cold data should be identified. Done means an agreed compaction strategy that reduces level depth and key comparisons for hot data while removing redundant cold data and reducing space usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.