Skip to content

Commit

Permalink
rocksdb.*cf: supply descriptions on ttl and `periodic-compaction-se…
Browse files Browse the repository at this point in the history
…conds`. (#13980)
  • Loading branch information
LykxSassinator committed Jun 28, 2023
1 parent dc95dcb commit 2321db7
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 @@ -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>

+ 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>

+ 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

0 comments on commit 2321db7

Please sign in to comment.