zyk990424 opened a new pull request #4019:
URL: https://github.com/apache/iotdb/pull/4019


   ## Description
   
   
   ### Problem
   When user creates a timeseries with tag or attribute, the tag/attribute 
record will be persisted to TagLogFile.
   Currently, every TagLogFile writing operation will be force flushed to  
disk, and too many disk I/O will cause poor performance.
   A example case is that, one timeseries creation costs 48ms and around 8000 
timeseries with tag creation costs 5-6min.
   
   ### Solution
   Set the force flush mode of FileChannel to false and execute force flush 
every N writing operations. N is an customized interval value that user can 
config.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to