mirror of
https://github.com/apache/impala.git
synced 2026-01-22 00:01:21 -05:00
- Minor edit Change-Id: I2f7eaacd5a885a7a5292d7694241d58e4f7b6282 (cherry picked from commit 0f1c87f814b5af4f6b37c5ebf095e887916424ef) Reviewed-on: http://gerrit.cloudera.org:8080/15457 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Aman Sinha <amsinha@cloudera.com> Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com>
68 lines
2.3 KiB
XML
68 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
|
|
<concept id="broadcast_bytes_limit">
|
|
|
|
<title>BROADCAST_BYTES_LIMIT Query Option</title>
|
|
|
|
<titlealts audience="PDF">
|
|
|
|
<navtitle>BROADCAST_BYTES_LIMIT</navtitle>
|
|
|
|
</titlealts>
|
|
|
|
<prolog>
|
|
<metadata>
|
|
<data name="Category" value="Impala"/>
|
|
<data name="Category" value="Impala Query Options"/>
|
|
</metadata>
|
|
</prolog>
|
|
|
|
<conbody>
|
|
|
|
<p>
|
|
<indexterm audience="hidden">BROADCAST_BYTES_LIMIT query option</indexterm> Sets the limit
|
|
for the size of the broadcast input based on estimated size.
|
|
</p>
|
|
<p>
|
|
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.
|
|
</p>
|
|
<p conref="../shared/impala_common.xml#common/type_integer"/>
|
|
|
|
<p conref="../shared/impala_common.xml#common/default_blurb"/>
|
|
|
|
<p>
|
|
The default value is 34359738368 (32 GB). A value of 0 causes the option to be ignored.
|
|
</p>
|
|
<p conref="../shared/impala_common.xml#common/example_blurb"/>
|
|
|
|
<codeblock><![CDATA[
|
|
-- Change the limit to 16GB.
|
|
set broadcast_bytes_limit=17179869184;
|
|
|
|
-- Disable the BROADCAST_BYTES_LIMIT.
|
|
set broadcast_bytes_limit=0;
|
|
]]>
|
|
</codeblock>
|
|
</conbody>
|
|
</concept>
|