当前位置:网站首页>Impala advanced settings of broadcast_ BYTES_ LIMIT
Impala advanced settings of broadcast_ BYTES_ LIMIT
2022-07-18 18:39:00 【cclovezbf】
Official website address
https://impala.apache.org/docs/build/html/topics/impala_broadcast_bytes_limit.html
Sets the limit for the size of the broadcast input based on estimated size.
The Impala planner may in rare cases make a bad choice to broadcast a large table or intermediate result and encounter performance problems due to high memory pressure. Setting this limit will make the planner pick a partition based hash join instead of broadcast and avoid such performance problems.
Type: integer
Default:
The default value is 34359738368 (32 GB). A value of 0 causes the option to be ignored.
Examples:
-- Change the limit to 16GB.
set broadcast_bytes_limit=17179869184;
-- Disable the BROADCAST_BYTES_LIMIT.
set broadcast_bytes_limit=0;It's nothing to say about the broadcast table Limit its size .
What are the benefits of this setting . There is something in the front . In very few cases impala Will make a wrong choice , That is, our various join When , He will broadcast a huge middle watch or a big watch , At this time, a broadcast uses more memory !!! It's easy to hang up .
So let's say Setting this value smaller can avoid the occurrence of this problem , But it's small , It will affect some normal queries .

Unfortunately, I'm set The parameter is still not found in .
In Impala 2.0 and later, you can set query options directly through the JDBC and ODBC interfaces by using the SET statement. Formerly, SET was only available as a command within the impala-shell interpreter.
In Impala 2.11 and later, you can set query options for an impala-shell session by specifying one or more command-line arguments of the form --query_option=option=value. See impala-shell Configuration Options for details.
But I mentioned these two sentences May be able to jdbc Add this parameter to the connection string
[[email protected] ~]$ impala-shell -i test-flimpala.woa.com:25003 -d default -k -Q broadcast_bytes_limit=17179869184
Starting Impala Shell using Kerberos authentication
Using service name 'impala'
Opened TCP connection to test-flimpala.woa.com:25003
Connected to test-flimpala.woa.com:25003
Server version: impalad version 3.2.0-cdh6.3.2 RELEASE (build 1bb9836227301b839a32c6bc230e35439d5984ac)
BROADCAST_BYTES_LIMIT is not supported for the impalad being connected to, ignoring.
Query: use `default`
***********************************************************************************
Welcome to the Impala shell.
(Impala Shell v3.2.0-cdh6.3.2 (1bb9836) built on Fri Nov 8 07:22:06 PST 2019)Press TAB twice to see a list of available commands.
***********************************************************************************
Query: use `default`
[test-flimpala.woa.com:25003] default> set
To no avail . He said yes set You can see which values can set Did it turn out . It's all supplemented by knowledge
边栏推荐
- 2022.7.15-----leetcode.558
- MySQL 变量、流程控制与游标练习
- C#网络应用编程,实验4:线程管理练习
- 【Ucos-III源码分析】——系统初始化
- MyQL数据库突然不见了,该如何进行恢复?
- 华为设备配置射频调优
- 【C#网络应用编程】实验3:进程管理练习
- [product people Wei Peng] 13 design websites necessary for product people in 2022 (version 1.0)
- 【golang】cannot unmarshal xxx “ into Go struct field xxx of type xxx
- nn. BCEWithLogisticLoss() & nn. The difference between bceloss(), nn CrossEntropyLoss() & nn. Nllloss() differences
猜你喜欢

Xray installation and use
![[dynamic programming]dp20 calculation string editing distance - medium](/img/89/9c56bc84e07f0c253a66b837f14232.png)
[dynamic programming]dp20 calculation string editing distance - medium

HALCON联合C#检测表面缺陷——ROI交互(三)(和图片同步缩放裁剪等功能)

Halcon and C # detect surface defects - ROI interaction (II) (functions such as synchronous scaling and clipping with pictures)
![Leetcode refers to the average value of offer II 041 sliding window [sliding window] the way of leetcode in heroding](/img/29/ea4b91cc90ca0dd0eea7e6a3d33394.png)
Leetcode refers to the average value of offer II 041 sliding window [sliding window] the way of leetcode in heroding

华为设备配置射频调优
![[PaddleSeg源码阅读] 关于PaddleSeg模型返回的都是list这件小事](/img/a4/bc61237e6557762487783f21602973.png)
[PaddleSeg源码阅读] 关于PaddleSeg模型返回的都是list这件小事

IDEA安装、配置、测试

ZABBIX monitoring service (IV) configuration trigger

華為影像XMAGE:求盡世間像,終見菩提心
随机推荐
字节三面终上岸,这份热腾腾的面经,请收好「含免费资料」
危化品企业双重预防机制数字化系统怎样建?
CAN光纤转换器解决泰和安TX3016A消防主机长距离联网问题
MySQL 变量、流程控制与游标
About STM32 driving LCD display screen, the solution to the problem that the white screen and disordered code need to be powered on and reset to return to normal after the program is downloaded
耐克,体育运动龙头在消费复苏趋势中的“红与黑”
集合(Properties)
让我们自定义反射系统
WordPress personal blog theme wp-reason-v1.0
HALCON联合C#检测表面缺陷——ROI交互(三)(和图片同步缩放裁剪等功能)
STL string
P1789 【Mc生存】插火把【入门】
excel从右边查找字符并截取
ZABBIX monitoring service (IV) configuration trigger
1.创建Prism项目
《遥远的救世主》遵守客观规律(七)——文化属性
MySQL 触发器
2022.7.14-----leetcode.745
ssd训练自己的数据集
深圳某游戏研发公司给每个工位都装监控,网友:堪比坐牢!