how to improve the parallelism of queries #7607
Answered
by
BohuTANG
qicaiyulin
asked this question in
Q&A
-
When a cluster has multiple query nodes, whether the sql query task of a query node can be executed concurrently on multiple query nodes? |
Beta Was this translation helpful? Give feedback.
Answered by
BohuTANG
Sep 14, 2022
Replies: 1 comment
-
Yes. The main code is in: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Xuanwo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes.
Currently,
SELECT
andINSERT
in Databend are distributed among cluster nodes. Others we are still improving, such as theCOPY
command.The main code is in:
https://github.com/datafuselabs/databend/blob/d6b86315015f052ceba3741b57391e6dbf87e7fb/src/query/service/src/optimizers/optimizer_scatters.rs