Skip to content

Commit

Permalink
tools: update default value for binlog #2063
Browse files Browse the repository at this point in the history
  • Loading branch information
WangXiangUSTC authored and lilin90 committed Dec 18, 2019
1 parent 58fcbc9 commit 389bb07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/reference/tidb-binlog/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Drainer="192.168.0.13"
-c int
同步下游的并发数,该值设置越高同步的吞吐性能越好 (default 1)
-cache-binlog-count int
缓存中的 binlog 数目限制(默认 512
缓存中的 binlog 数目限制(默认 8
如果上游的单个 binlog 较大导致 Drainer 出现 OOM 时,可尝试调小该值减少内存使用
-config string
配置文件路径,Drainer 会首先读取配置文件的配置;
Expand Down
1 change: 1 addition & 0 deletions v2.1/reference/tidb-binlog/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ Drainer="192.168.0.13"
同步下游的并发数,该值设置越高同步的吞吐性能越好 (default 1)
-cache-binlog-count int
缓存中的 binlog 数目限制(默认 8)
如果上游的单个 binlog 较大导致 Drainer 出现 OOM 时,可尝试调小该值减少内存使用
-config string
配置文件路径,Drainer 会首先读取配置文件的配置;
如果对应的配置在命令行参数里面也存在,Drainer 就会使用命令行参数的配置来覆盖配置文件里面的配置
Expand Down
2 changes: 1 addition & 1 deletion v3.0/reference/tidb-binlog/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Drainer="192.168.0.13"
-c int
同步下游的并发数,该值设置越高同步的吞吐性能越好 (default 1)
-cache-binlog-count int
缓存中的 binlog 数目限制(默认 512
缓存中的 binlog 数目限制(默认 8
如果上游的单个 binlog 较大导致 Drainer 出现 OOM 时,可尝试调小该值减少内存使用
-config string
配置文件路径,Drainer 会首先读取配置文件的配置;
Expand Down
2 changes: 1 addition & 1 deletion v3.1/reference/tidb-binlog/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Drainer="192.168.0.13"
-c int
同步下游的并发数,该值设置越高同步的吞吐性能越好 (default 1)
-cache-binlog-count int
缓存中的 binlog 数目限制(默认 512
缓存中的 binlog 数目限制(默认 8
如果上游的单个 binlog 较大导致 Drainer 出现 OOM 时,可尝试调小该值减少内存使用
-config string
配置文件路径,Drainer 会首先读取配置文件的配置;
Expand Down

0 comments on commit 389bb07

Please sign in to comment.