Yuan Tian created IOTDB-2195:
--------------------------------

             Summary: Control the concurrent query execution thread
                 Key: IOTDB-2195
                 URL: https://issues.apache.org/jira/browse/IOTDB-2195
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Query
            Reporter: Yuan Tian
            Assignee: Alima777


Currently, we don't restrict the query execution thread, you can have query 
thread as much as the max size of connection which is defaultly 65535.

This will easily cause OOM when the client concurrent query threads increase. 
Even if you have enough memory, too many query execution threads will cause 
frequent context switch if your machine don't have enough cpu cores which will 
also affect your query performance.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to