Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-178

Implements StorageManager for scanning asynchronously

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2-incubating
    • 0.2-incubating
    • Storage
    • None

    Description

      The current StorageManager does not provide scan scheduling function. All scan operations run concurrently. This is the cause of random disk access and disk read performance is not good.
      The proposed StorageManager is based on double buffering. Each disk has a scheduler to schedule by order of scanned adjust. Each Scanner has a InputStream and a Tuple pool. The next() operation of ScanNode is blocked until Tuple pool is filled. Assigned Scanner by the scheduler read data(xMB) and fills Tuple Pool and notifies to next() operation. After scanning Scanner re-enter DiskScanQueue.
      In this way Scanner can pass column vector to Vectorized Query Engine.
      See the attached file.

      Attachments

        1. tajo_storage_manager.png
          72 kB
          Hyoungjun Kim
        2. TAJO-178_1.path
          241 kB
          Hyoungjun Kim
        3. TAJO-178_3.patch
          274 kB
          Hyunsik Choi
        4. TAJO-178_4.patch
          264 kB
          Hyunsik Choi
        5. TAJO-178.patch_2
          259 kB
          Hyoungjun Kim
        6. TAJO-178.path
          241 kB
          Hyoungjun Kim

        Activity

          People

            hjkim Hyoungjun Kim
            hjkim Hyoungjun Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: