-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
8% tpcc performance degradation caused by #29238 #29850
Comments
@dbsid can you provide the what the tpcc workload is? |
This one is a little strange. It's very surprising that that pr influenced this case. |
steps to produce
|
The reason why it cannot use PointGet is caused by #28478, and it's expected, I think I've already notified this risk in our chat group when developing it. Seeing as the TableRangeScan actually has the same range(point) with the original PointGet, I doubt whether this change can cause 8% tpcc perf-regression. |
I'm investigating this issue and seeing whether there is any simple method to fix it. |
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
run tpcc workload on aws ec2 config
2. What did you expect to see? (Required)
below prepared statement, all the predicates are all
equal =
, the optimizer should be able to choose the point get plan. kv_get is cheaper than cop in tikv.3. What did you see instead (Required)
tablereader and tablerangescan
4. What is your TiDB version? (Required)
v5.3.0
The text was updated successfully, but these errors were encountered: