TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
Is your feature request related to a problem? Please describe:
Now the Sort executor is executed serially. We can run it parallelly to speed up.
Describe the feature you'd like:
Considering using a parallel framework, to run each sort partition in parallel. And then using a merge sort to generate the final result.
We can refer to this proposal https://github.com/pingcap/tidb/pull/14238#issuecomment-569880893 and reuse it (after this pr merge).
Feature Request
Is your feature request related to a problem? Please describe:
Now the Sort executor is executed serially. We can run it parallelly to speed up.
Describe the feature you'd like:
Considering using a parallel framework, to run each sort partition in parallel. And then using a merge sort to generate the final result. We can refer to this proposal https://github.com/pingcap/tidb/pull/14238#issuecomment-569880893 and reuse it (after this pr merge).
Describe alternatives you've considered:
Task:
Teachability, Documentation, Adoption, Migration Strategy: