-
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
Optimize SQL for handle ID query #9034
Comments
Hi, @dawnbreaks |
@dawnbreaks There is no data in your table. So I think it is reasonable for the query plan. |
Hi, @dawnbreaks , we've fixed it in this PR. But it may not be cherry-picked to version 2.1. |
Is there a plan to cherry-pick it to version 2.1? |
@dawnbreaks already cherry picked to release-2.1, close this issue now. |
Feature Request
Query execution plan for the above SQL are not acceptable, TableScan is too slow and expensive. It 's expected that TIDB should use the handle ID(_tidb_rowid) to access the the raw table data directly!
The text was updated successfully, but these errors were encountered: