Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9765

Preaggregations should stop expanding if memory is scarce

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Backend

    Description

      We've seen several workloads recently where the preaggregations expanded to consume nearly all of the memory reservation on a host, starving the merge agg. We should think about runtime mechanisms to reduce the impact of this, e.g. stop expanding once we are low on memory.

      I think we'd need to do this based on reservation_limit_ - child_reservations_ - used_reservation_ on the query mem tracker. Various heuristics are possible. Even something simple like keeping 10-20% free would be beneficial.

      Related: IMPALA-2945 IMPALA-9530 IMPALA-9591

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: