-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[CDCSDK] Provide support to read old image of the changed Column #9352
Comments
In PostgreSQL, there is a table option
By default, the PostgreSQL will send the updated data and primary key to the CDC event.
But at the moment, if we execute the same command in the Yugabyte DB, it will back an error message:
So it means that the Yugabyte DB does not support setting the REPLICA IDENTITY to We hope the YugabyteDB also can support the REPLICA IDENTITY to |
In terms of CDC applications, there are basically two types.
For example, if there is a table which size is 1TB, if we want to recovery the columns in downstream data application, we need to store the table state in memory and this is impossible. Otherwise, the application need to get the full columns from a database by primary key each time when a new CDC message comes in. Therefore, we hope Yugabyte can support sending full fields. Although this will add some network IO since the data size will increase, but for the second application scenario, the whole data processing pipeline will be relatively simple. |
Jira Link: DB-3519
For the CDC changes, there is a requirement to provide the old image as part of the CDCRecrod.
We need to finalize the approach and decide on the priority.
The text was updated successfully, but these errors were encountered: