Skip to content

[cherry-pick](branch-2.1) Improve local shuffle strategy#40038

Closed
Gabriel39 wants to merge 5 commits intoapache:branch-2.1from
Gabriel39:pick_0828_1
Closed

[cherry-pick](branch-2.1) Improve local shuffle strategy#40038
Gabriel39 wants to merge 5 commits intoapache:branch-2.1from
Gabriel39:pick_0828_1

Conversation

@Gabriel39
Copy link
Copy Markdown
Contributor

Proposed changes

pick #34122 #35454 #35716 #37195
#40036

apache#35454)

…d data distribution

This is a follow-up for apache#34122 .
Currently, we use bucket shuffle local exchange to re-distribution data
before a 'colocated' operator. But if no colocate/bucket-shuffle join
followed, bucket-shuffle for this operator is not always suitable
because the parallism will be restricted by the account of buckets
Now we use ``` DataGenOperator (num_instance=1) ->
ResultSinkOperator(num_instance=1) ``` for loading/query tasks.

This PR use a local shuffle to improve its parallelism and the plan is
``` DataGenOperator (num_instance=1) -> LocalExchangeSink (num_instance=1) -> LocalExchangeSource (num_instance=(cores / 2) -> ResultSinkOperator(num_instance=(cores / 2)) ```
@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Gabriel39
Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Gabriel39 Gabriel39 closed this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants