You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Chen Luo (Jira)" <ji...@apache.org> on 2020/12/06 04:14:00 UTC

[jira] [Created] (ASTERIXDB-2813) Limit the number of flush/merge threads

Chen Luo created ASTERIXDB-2813:
-----------------------------------

             Summary: Limit the number of flush/merge threads
                 Key: ASTERIXDB-2813
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2813
             Project: Apache AsterixDB
          Issue Type: Improvement
          Components: STO - Storage
            Reporter: Chen Luo
            Assignee: Chen Luo


Currently, AsterixDB uses one thread to execute each flush and merge operation. This may result in a large number of I/O threads in some cases, e.g., when writing to many datasets at the same time.

 

A better solution is to enforce some limit on the number of flush and merge threads. When there is no thread available, a newly created flush or merge operation should be delayed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)