Skip to content

Commit

Permalink
tikv: update CDC config (pingcap#5961)
Browse files Browse the repository at this point in the history
  • Loading branch information
overvenus authored Apr 7, 2021
1 parent a5a1e81 commit 499915e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,25 @@ raftdb 相关配置项。
+ 默认值:CPU * 0.75,但最大为 32
+ 最小值:1

## cdc <span class="version-mark">从 v4.0.5 版本开始引入</span>

用于 TiCDC 捕捉变更数据相关的配置项。

### `min-ts-interval`

+ 定期推进 Resolved TS 的时间间隔。
+ 默认值:1s

### `old-value-cache-size` <span class="version-mark">从 v5.0 版本开始引入</span>

+ 缓存在内存中的 TiCDC Old Value 的条目个数。
+ 默认值:1024

### `incremental-scan-speed-limit` <span class="version-mark">从 v5.0 版本开始引入</span>

+ 增量扫描历史数据的速度上限。
+ 默认值:128MB,即 128MB 每秒。

## pessimistic-txn

悲观事务使用方法请参考 [TiDB 悲观事务模式](/pessimistic-transaction.md)
Expand Down

0 comments on commit 499915e

Please sign in to comment.