Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.