Skip to content

sql plan changed and performance regression #50614

@kennedy8312

Description

@kennedy8312

Bug Report

It seems to be a regression introduced by commit.

1. Minimal reproduce step (Required)

git checkout 86cd94a
make & run
mysql -u root -h 127.0.0.1 -P 4000 test < testcase.sql

sql file is not allowed to upload. Please change the file extension.
testcase_sql.log

2. What did you expect to see? (Required)

Update_456 N/A 0 root time:4.85ms
testcase_result_bad.log

3. What did you see instead (Required)

Update_456 N/A 0 root time:27.2ms
testcase_result_good.log

4. What is your TiDB version? (Required)

The slowness happened on master as well. It started with #35669 (86cd94a).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions