GitHub user Ben-Zvi opened a pull request:
https://github.com/apache/drill/pull/879
DRILL-5669: Add a configurable option for minimum memory allocation tâ¦
â¦o buffered ops
Added the option "planner.memory.min_memory_per_buffered_op" to enforce a
minimum memory allocation to all buffered ops instances (i.e., External Sort or
Hash Agg (either phase)).
Default value setting is 40 MB (to cover cases of a large incoming batch,
while the query's memory divided among all buffered ops results in a small
share per each).
There is a small risk of total allocation by default (i.e. 40MB * num-ops)
may exceed the query's total memory; but this happens anyway with
"uncontrolled" ops like hash join.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Ben-Zvi/drill DRILL-5669
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/879.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #879
----
commit 9ffdb6adc72c7689bc088171d9b978fc161970f3
Author: Boaz Ben-Zvi <[email protected]>
Date: 2017-07-17T21:21:29Z
DRILL-5669: Add a configurable option for minimum memory allocation to
buffered ops
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---