Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5793

Support parallel init and fast null return for SortMergeJoinPlan.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0.0
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      For a join sql like A join B. The implementation of SortMergeJoinPlan currently inits the two iterators A and B one by one.

      By initializing A and B in parallel, we can improve performance in two aspects.

      1) By overlapping the time in initializing.

      2) If one child query is null, the other child query can be canceled since the final result must be null.

       

      Attachments

        1. PHOENIX-5793_v1-4.x.patch
          37 kB
          chenglei
        2. PHOENIX-5793-v5.patch
          10 kB
          Chen Feng
        3. PHOENIX-5793-v4.patch
          10 kB
          Chen Feng
        4. PHOENIX-5793-v3.patch
          7 kB
          Chen Feng
        5. PHOENIX-5793-v2.patch
          12 kB
          Chen Feng

        Activity

          People

            fengchen8086 Chen Feng
            fengchen8086 Chen Feng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: