-
Notifications
You must be signed in to change notification settings - Fork 759
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
Support stream level parallel insert #2921
Comments
Seems this is not conflict with #2914 @sundy-li @dantengsky Should this do now or after #2914 ? |
hi @ygf11, great to see u again :D
I am not sure if there will be conflicts, would you please share with us the ideas for implementing this feature? btw, I think(@sundy-li correct me if I am mistaken) the comments that @sundy-li given in #2765 (review) is the key hint that indicates the last_pipe is "converged", but I am afraid that by only adjusting the
hope this comment helps, if any further clarifications are needed, please let me know. |
Yes, @dantengsky said is absolutely right. Can
|
yes, we can do that |
hi @dantengsky, Thanks for comment:). Sorry for I didn't make it clear before.
I mean the two feature is not same, so they can both make insert faster.
You're right, beside Pipeline this need adjust other parts. Maybe this can be talk and do after #2914 done, because it is a base work and more important. Also I 'm not familiar with the cluster operations now:) |
Sure :-) |
#2945 checked in, closed |
hi @ygf11 , sorry for the delay in responding
Hope I get it right that the suggestion here is, to parallelize the insertions, even in a single query node. As PR#2945 merged, I think the above issue is addressed. but If I misunderstood your suggestions, correct me pls, or other suggestions are sincerely welcome. BTW: you might be interested in the following code snippet |
Summary
For insert into select, it may generate multiple stream by SelectPlan, and these will merge to one now.
It's better to avoid merging and enable stream-level parallel insert.
https://github.com/datafuselabs/databend/blob/73ed5a38ff04caee65bc91de2551d59cd9b9b4c9/query/src/pipelines/processors/pipeline.rs#L156-L161
relative #2765 (review)
The text was updated successfully, but these errors were encountered: