Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5265

External Sort consumes more memory than allocated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      git.commit.id.abbrev=300e934

      Based on the profile for the below query, the external sort has a peak memory usage of ~126MB when only ~100MB was allocated

      alter session set `planner.memory.max_query_memory_per_node` = 104857600;
      alter session set `planner.width.max_per_node` = 1;
      select * from dfs.`/drill/testdata/md1362` order by c_email_address;
      

      I attached the profile and the log files

      Attachments

        Activity

          People

            Paul.Rogers Paul Rogers
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: