Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-3192

UNION ALL up and down queue size default value too small, or not dynamically adjusted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • any
    • 2.4
    • sql-exe
    • None

    Description

      The union up queue size is hardcoded in nadefaults.cpp as a start value as 16 which
      is very low if large number of rows are being returned. Scan operator has it set to 2048.

      Some operators further adjust this up size from the original value based on estimate of
      the number of rows being returned. We can do that for union codegen method and
      also change the original up queue size to 2048.

       

      Noticed that Transpose, Sequence also have the same issue and dynamic queue resizing is missing. 

      Attachments

        Issue Links

          Activity

            People

              sandhya Sandhya Sundaresan
              sandhya Sandhya Sundaresan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: