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. #14312

Merged
merged 6 commits into from
Jun 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
rocksdb.*cf: supply descriptions on ttl and `periodic-compaction-se…
…conds`.

Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
  • Loading branch information
LykxSassinator committed Jun 26, 2023
commit 6de3aa9f618e5a39cd8dee9b10605b3239e9167c
10 changes: 10 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,16 @@ rocksdb defaultcf、rocksdb writecf 和 rocksdb lockcf 相关的配置项。
- `5`:适用于 TiKV v6.1 及以上版本。全量和分区 filter 采用一种具有不同模式的、更快、更准确的 Bloom filter 实现。
+ 默认值:`2`

### `ttl` <span class="version-mark">从 v7.2.0 版本开始引入</span>
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 设置 SST 文件被自动选中执行 compaction 的 TTL 时间。更新时间超过 TTL 的 SST 文件将被选中并进行 compaction。通常情况下,这些对象将以级联的方式进行 compaction,使其压缩到最底层/文件中.
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 默认值: "`30d`"
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 单位: s(second)|h(hour)|d(day)
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved

### `periodic-compaction-seconds` <span class="version-mark">从 v7.2.0 版本开始引入</span>
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 设置周期性 compaction 的时间,超过此值的 SST 文件将被选中进行 compaction,并重新写入到与它们之前所在的同一层级.
qiancai marked this conversation as resolved.
Show resolved Hide resolved
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 默认值: "`30d`"
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved
+ 单位: s(second)|h(hour)|d(day)
LykxSassinator marked this conversation as resolved.
Show resolved Hide resolved

## rocksdb.defaultcf.titan

rocksdb defaultcf titan 相关的配置项。
Expand Down