Hongshun Wang created FLINK-38184:
-------------------------------------
Summary: CDC no need to getCopyOfBuffer for each split info.
Key: FLINK-38184
URL: https://issues.apache.org/jira/browse/FLINK-38184
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Affects Versions: cdc-3.4.0
Reporter: Hongshun Wang
Fix For: cdc-3.5.0
Attachments: image-2025-08-04-11-03-18-074.png
When I have a big Postgres source table(1 billion data), then the checkpoint
will cost multiple minutes which will block the whole reading. The main cost is
org.apache.flink.core.memory.DataOutputSerializer#getCopyOfBuffer.
!image-2025-08-04-11-03-18-074.png!
To behost, it's a no meaning operation. For one split, it only need onceĀ
out.getCopyOfBuffer rather than multiple times.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)