tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

sorter iterator can utilize too much CPU if there are lots of DeleteRange records

Open hicqu opened this issue 9 months ago • 0 comments

What did you do?

Start a TiCDC changefeed to replicate 4K tables. And there are a lot exists data.

What did you expect to see?

No response

What did you see instead?

Sorter iterators can utilize too much CPU if there are lots of DeleteRange records:

img_v3_02a7_69cbd440-cb00-4317-a896-aca25ea9102g

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)

hicqu avatar May 09 '24 07:05 hicqu