Skip to content

Commit

Permalink
Do not merge until v7.1.2: rocksdb.*cf: supply descriptions on ttl
Browse files Browse the repository at this point in the history
…and `periodic-compaction-seconds`. (#13980) (#15130)
  • Loading branch information
ti-chi-bot authored Oct 25, 2023
1 parent 874d392 commit 3b26a50
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1542,6 +1542,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.1.2</span>

+ 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: `"0s"`, meaning that no SST file is selected by default.
+ Unit: s(second)|h(hour)|d(day)

### `periodic-compaction-seconds` <span class="version-mark">New in v7.1.2</span>

+ 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: `"0s"`, meaning that periodic compaction is disabled by default.
+ Unit: s(second)|h(hour)|d(day)

## rocksdb.defaultcf.titan

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

0 comments on commit 3b26a50

Please sign in to comment.