Skip to content

columnData2Column utilizes too much CPU in a single point component #11590

@hicqu

Description

@hicqu

What did you do?

Replicate a table with 2 unique keys, which are both union index.

What did you expect to see?

No response

What did you see instead?

Here is a result of CPU profile in 30s.

profiling_2024-09-11_20-43-08.zip

图片

The stack is very clear. model.columnData2Column utilizes almost one full core. And, GC also works in a heavy load.

The function model.columnData2Column is introduced in v8.1.0, but we don't know whether it exists in earlier versions or not.

Versions of the cluster

TiCDCs after v8.1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ticdcIssues or PRs related to TiCDC.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions