-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Ignore lossy DDL change for TiCDC #43227
Labels
Comments
Rustin170506
added
the
type/enhancement
The issue or PR belongs to an enhancement.
label
Apr 20, 2023
This was referenced Apr 20, 2023
This was referenced May 5, 2023
/label affects-7.1 |
/area ticdc |
/label affects-6.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Enhancement
What is lossy DDL and why do we need to special handle it?
Lossy DDL means we execute a DDL which changes the data type. For example:
Create table:
Notice the current length of the genre is
VARCHAR(30)
. If you do an alter:You changed the length from 30 to 20. This is a lossy DDL, it would cause the full amount of data to change.
Also, it causes the TiCDC to spend a lot of resources on handling these data changes from TiCDC. But maybe the users don't care about these changes. They only want to get the right DDL to notice that the data type of this column was changed.
See more at: Needs Analysis For Optimizing Lossy DDL Synchronization Process and Solution For Optimizing Lossy DDL in TiCDC
The text was updated successfully, but these errors were encountered: