Skip to content

Commit

Permalink
Increase planner.memory.max_query_memory_per_node (#298)
Browse files Browse the repository at this point in the history
The current default of 2 GB is now insufficient, as the 2 GB limit is being used by both Hash Agg and Managed Sort. As a result multiple queries fail with OOM.

Temporarily changing this limit to a much higher value (10 GB), until the default is updated suitably (tracked by DRILL-3549).
  • Loading branch information
Agirish authored Jul 23, 2017
1 parent 5820511 commit 4475850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions after-run.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
alter system set `planner.enable_decimal_data_type` = false;
alter system set `new_view_default_permissions` = '700';
alter system set `planner.enable_limit0_optimization` = false;
alter system set `exec.errors.verbose` = false;
select * from sys.version;
select * from sys.drillbits;
alter system reset all;
1 change: 1 addition & 0 deletions before-run.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ alter system set `planner.enable_decimal_data_type` = true;
alter system set `new_view_default_permissions` = '777';
alter system set `planner.enable_limit0_optimization` = true;
alter system set `exec.errors.verbose` = true;
alter system set `planner.memory.max_query_memory_per_node` = 10737418240;

0 comments on commit 4475850

Please sign in to comment.