Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1727

Slow creation of timeseries with tag

    XMLWordPrintableJSON

Details

    • 2021-09

    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.

      Attachments

        Activity

          People

            Marcoss Yukun Zhou
            Marcoss Yukun Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: