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

[MySQL] Improve the chunks splitting of table with composite primary key #1108

Closed
zhilinli123 opened this issue Apr 22, 2022 · 2 comments · Fixed by #1415
Closed

[MySQL] Improve the chunks splitting of table with composite primary key #1108

zhilinli123 opened this issue Apr 22, 2022 · 2 comments · Fixed by #1415
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zhilinli123
Copy link
Contributor

zhilinli123 commented Apr 22, 2022

The CDC uses the first joint primary key of a table by default. If the later version supports the joint primary key of a table, the CDC uses the first joint primary key of a table to determine whether a trusted field exists Is it possible to manually specify this field, so as to facilitate subsequent synchronization monitoring? Please kindly review it with the help of community leaders

@zhilinli123 zhilinli123 added the enhancement New feature or request label Apr 22, 2022
@ruanhang1993
Copy link
Contributor

The same problem occurs when I use the mysql cdc connector.
My problem lies in that the first joint primary key of my table is always the same. This will cause that the whole table only have one chunk in the snapshot phase. And the task manager will be out of memory when reading the whole table.

I have solved the problem. Could you assign this issue to me, @leonardBang? We also need a meaningful issue name in English.

@leonardBang leonardBang changed the title 对于联合主键表支持 [MySQL] Improve the chunks splitting of table with composite primary key Jul 27, 2022
@leonardBang leonardBang added this to the V2.3.0 milestone Jul 27, 2022
@leonardBang
Copy link
Contributor

Thanks @ruanhang1993 for picking this, assigned to you

ruanhang1993 added a commit to ruanhang1993/flink-cdc-connectors that referenced this issue Jul 27, 2022
ruanhang1993 added a commit to ruanhang1993/flink-cdc-connectors that referenced this issue Jul 28, 2022
ruanhang1993 added a commit to ruanhang1993/flink-cdc-connectors that referenced this issue Jul 29, 2022
leonardBang pushed a commit that referenced this issue Jul 29, 2022
… to support splitting table by custom column (#1415)

This closes #1108.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants