-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 limit over range partitioned table #41480
Labels
affects-6.5
affects-6.6
component/tablepartition
This issue is related to Table Partition of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
Comments
This was referenced Feb 16, 2023
ti-chi-bot
pushed a commit
that referenced
this issue
Feb 17, 2023
you06
added a commit
to you06/tidb
that referenced
this issue
Feb 21, 2023
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Feb 22, 2023
12 tasks
winoros
pushed a commit
to winoros/tidb
that referenced
this issue
Feb 24, 2023
12 tasks
B.T.W, this is the plan when |
See also #42024, that one try to make the data reader on partition table support ordering property, which is more general and more complex too. |
mjonss
added
the
component/tablepartition
This issue is related to Table Partition of TiDB.
label
Jun 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
affects-6.6
component/tablepartition
This issue is related to Table Partition of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Run this case:
Notice the table table scan stats
cop_task: {num: 10, max: 757.6µs, min: 384.5µs, avg: 542.6µs, ..., max_distsql_concurrency: 1}
, there are 10 tasks over 10 partitions, but the distsql concurrency is set to 1 here.There are 2 possible optimization:
The text was updated successfully, but these errors were encountered: