Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocksdb.*cf: supply descriptions on ttl and periodic-compaction-seconds. #13980

Merged
merged 3 commits into from
Jun 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,18 @@ Configuration items related to `rocksdb.defaultcf`, `rocksdb.writecf`, and `rock
- `5`: Can be read by TiKV v6.1 and later versions. Full and partitioned filters use a faster and more accurate Bloom filter implementation with a different schema.
+ Default value: `2`

### `ttl` <span class="version-mark">New in v7.2.0</span>
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ SST files with updates older than the TTL will be automatically selected for compaction. These SST files will go through the compaction in a cascading way so that they can be compacted to the bottommost level or file.
+ Default value: `"30d"`
+ Unit: s(second)|h(hour)|d(day)

### `periodic-compaction-seconds` <span class="version-mark">New in v7.2.0</span>
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ The time interval for periodic compaction. SST files with updates older than this value will be selected for compaction and rewritten to the same level where these SST files originally reside.
+ Default value: `"30d"`
+ Unit: s(second)|h(hour)|d(day)

## rocksdb.defaultcf.titan

Configuration items related to `rocksdb.defaultcf.titan`.
Expand Down