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

Decrease overhead of tracking aggregate heap size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.14.0, 5.0.0
    • None
    • None

    Description

      Since PHOENIX-4148, we track the heap size while aggregation is occurring. This decreased performance of aggregation by ~20%. We really only need to track this for the DistinctValueWithCountServerAggregator (used by DISTINCT COUNT, DISTINCT, PERCENTILE functions, and STDDEV functions). By conditionally tracking, we should be able to bring perf back to what it was before.

      Attachments

        1. PHOENIX-4718_v2.patch
          27 kB
          James R. Taylor
        2. PHOENIX-4718_v3.patch
          35 kB
          James R. Taylor
        3. PHOENIX-4718.patch
          25 kB
          James R. Taylor
        4. PHOENIX-4718-4.x-HBase-0.98.patch
          27 kB
          James R. Taylor

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: