Skip to content
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

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

Open
hicqu opened this issue Sep 11, 2024 · 1 comment · May be fixed by #11595
Open

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

hicqu opened this issue Sep 11, 2024 · 1 comment · May be fixed by #11595
Labels
area/ticdc Issues or PRs related to TiCDC. type/enhancement The issue or PR belongs to an enhancement.

Comments

@hicqu
Copy link
Contributor

hicqu commented Sep 11, 2024

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.

@hicqu hicqu added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Sep 11, 2024
@hicqu
Copy link
Contributor Author

hicqu commented Sep 11, 2024

It slows down a changefeed obviously:
图片

@hicqu hicqu added type/enhancement The issue or PR belongs to an enhancement. and removed type/bug The issue is confirmed as a bug. labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant