Replies: 1 comment
-
databend-query process query is cluster mode.
if the databend-query onlye one node process we need to make sure is there one segment and include one block. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a databend-query cluster with 3 nodes, which can be found in table
system.clusters
:name host port
HnMW... 10.66.110.37 9091
opIBW... 10.66.110.39 9091
qJHdo... 10.66.110.38 9091
I send a slow query sql (named sql_A) to any one node (e.g. 10.66.110.38:3307) above by mysql client,
and see cpu usage on linux shell by
top
command, only 10.66.110.37 cpu become busy, and the sql result cost about 10 seconds;next, i send the sql_A query twice at same time, it stiil seems to only use 10.66.110.37 cpu, and the sql result cost almost 20 seconds;
so, my question is:
system.clusters
will be used?Beta Was this translation helpful? Give feedback.
All reactions