-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TiCDC: add information about Unified Sorter #4959
Conversation
@TomShawn, @amyangfei, PTAL. |
1 similar comment
@TomShawn, @amyangfei, PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments on formats and wording
LGTM |
@TomShawn, @amyangfei, @ti-srebot, PTAL. |
ticdc/troubleshoot-ticdc.md
Outdated
> + 目前文件排序功能的处理能力有限。如果单表数据量过多导致文件排序失败,可以修改 TiCDC 任务配置过滤掉这张表,通过其他备份恢复工具例如 BR 恢复这张表之后再继续同步该表。 | ||
> + TiCDC 从 4.0.9 版本起支持 Unified Sorter 排序引擎。 | ||
> + TiCDC(4.0 发布版本)还不支持动态修改排序引擎。 | ||
> + 目前 Unified Sorter 排序引擎为实验特性,在数据表较多 (>= 100) 时可能出现性能问题,影响同步速度,故不建议在生产环境中长期使用。开启 Unified Sorter 前请保证各 TiCDC 节点机器上有足够硬盘空间。如果积攒的数据总量有可能超过 1 TB,则不建议使用 TiCDC 进行同步。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"不建议在生产环境中长期使用" 表示 "可以在生产环境中短期使用" 吗?
@TomShawn, @amyangfei, @ti-srebot, PTAL. |
@TomShawn, @amyangfei, @ti-srebot, PTAL. |
1 similar comment
@TomShawn, @amyangfei, @ti-srebot, PTAL. |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
ticdc/troubleshoot-ticdc.md
Outdated
|
||
{{< copyable "shell-regular" >}} | ||
|
||
```shell | ||
cdc cli changefeed create --pd=http://10.0.10.25:2379 --start-ts=415238226621235200 --sink-uri="mysql://root:123456@127.0.0.1:3306/" --sort-engine="file" --sort-dir="/data/cdc/sort" | ||
cdc cli changefeed create --pd=http://10.0.10.25:2379 --start-ts=415238226621235200 --sink-uri="mysql://root:123456@127.0.0.1:3306/" --sort-engine="unified" --sort-dir="/data/cdc/sort" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not cdc cli changefeed update
? So we need to make sure using the right start ts when creating a new changefeed.
@amyangfei, @ti-srebot, PTAL. |
@amyangfei, PTAL. |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #5138 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Zixiong Liu <liuzixiong@pingcap.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
What is changed, added or deleted? (Required)
--sort-engine
parameter of a TiCDC changefeed.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?