How to Accelerate Concurrent Query Efficiency #9634
Answered
by
BohuTANG
lixiaoyong12
asked this question in
Q&A
-
当前一个节点,单个线程查询大概2秒左右,4个线程并发查询需要8秒左右?应该如何才能加单机的并发查询效率呢(当前max_threads已经是最大了)? |
Beta Was this translation helpful? Give feedback.
Answered by
BohuTANG
Jan 16, 2023
Replies: 1 comment 1 reply
-
If the concurrency query is larger than the CPU number, you can try: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Xuanwo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the concurrency query is larger than the CPU number, you can try:
set global max_threads=1;