You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2015/04/09 03:11:12 UTC
[jira] [Created] (DRILL-2728) Merge spill files in ExternalSort
Steven Phillips created DRILL-2728:
--------------------------------------
Summary: Merge spill files in ExternalSort
Key: DRILL-2728
URL: https://issues.apache.org/jira/browse/DRILL-2728
Project: Apache Drill
Issue Type: Improvement
Reporter: Steven Phillips
Assignee: Steven Phillips
When external sort spills, it first merges all of the in-memory batches, and then keeps one batch in memory, while spilling the rest to disk. It's possible that we will still run out of memory, due to the single batch held in memory for each spill. When the memory due to these batches becomes too large, we should combine the spill files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)