Vladislav P
unread,Dec 16, 2025, 8:48:25 AM (7 days ago) Dec 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to debezium
Hi,
The problem is as follows: The Sink connector cannot handle the load. He doesn't have time to read behind the source connector. We have found the root of the problem - DELETE operations, they take a very long time to complete.
In Postgre, we see how the process performs many operations: "DELETE FROM SCHEMA.TABLE WHERE ID=$1".
When the "delete.enable: false" option is disabled, the sink-connector reduces the lag very quickly and keeps up with the source connector.
Help me solve this problem.
Now there are questions:
1) How are the operations performed inside "batch:500", can there be any INSERT/UPDATE/DELETE operations that are performed sequentially?
2) DELETE operations are not combined when "use.reduction.buffer: true" is enabled? Are only INSERTS combined?
3) How can DELETE operations be optimized? Currently, each deletion operation takes about 1 second. And it feels like they can't commit because of the long execution and will last indefinitely.
4) Tell me how you can implement a soft deletion of records. To put in the column Postgre delete: true when the record is deleted.