Files
impala/docs/build/plain-html/topics/impala_large_agg_mem_threshold.html
Peter Rozsa 0b571b5cf4 Add 4.5.0 changelog and docs
Change-Id: I07ec0a197de8a625788a3b0485d5ecf237e554ba
Reviewed-on: http://gerrit.cloudera.org:8080/22576
Reviewed-by: Zoltan Borok-Nagy <boroknagyz@cloudera.com>
Tested-by: Peter Rozsa <prozsa@cloudera.com>
2025-03-04 16:12:35 +00:00

86 lines
3.0 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="copyright" content="(C) Copyright 2025" />
<meta name="DC.rights.owner" content="(C) Copyright 2025" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="LARGE_AGG_MEM_THRESHOLD Query Option (Impala 4.4 or higher only)" />
<meta name="DC.Relation" scheme="URI" content="../topics/impala_set.html" />
<meta name="prodname" content="Impala" />
<meta name="version" content="Impala 3.4.x" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="large_agg_mem_threshold" />
<link rel="stylesheet" type="text/css" href="../commonltr.css" />
<title>LARGE_AGG_MEM_THRESHOLD Query Option (Impala 4.4 or higher only)</title>
</head>
<body id="large_agg_mem_threshold">
<h1 class="title topictitle1" id="ariaid-title1">LARGE_AGG_MEM_THRESHOLD Query Option (<span class="keyword">Impala 4.4</span> or higher only)</h1>
<div class="body conbody">
<p class="p">
The threshold for the query planner to determine whether memory estimation for an
aggregation node is large or not. Together with <code class="ph codeph">AGG_MEM_CORRELATION_FACTOR</code>,
the planner will use this value to lower memory estimation for a large aggregation node.
</p>
<p class="p">
Users can set this option value to 0.0 so the planner stays using the default
NDV multiplication based-estimation. See <code class="ph codeph">AGG_MEM_CORRELATION_FACTOR</code>
documentation for more detail.
</p>
<p class="p">
<strong class="ph b">Type:</strong> integer
</p>
<p class="p">
<strong class="ph b">Default:</strong>
</p>
<p class="p">
<code class="ph codeph">536870912</code> (512 MB)
</p>
<p class="p">
<strong class="ph b">Units:</strong> A numeric argument represents a size in bytes; you can also use a suffix
of <code class="ph codeph">m</code> or <code class="ph codeph">mb</code> for megabytes, or <code class="ph codeph">g</code> or
<code class="ph codeph">gb</code> for gigabytes. If you specify a value with unrecognized formats,
subsequent queries fail with an error.
</p>
<p class="p">
<strong class="ph b">Added in:</strong> <span class="keyword">Impala 4.4</span>
</p>
<p class="p">
<strong class="ph b">Related information:</strong>
</p>
<p class="p">
<a class="xref" href="impala_agg_mem_correlation_factor.html">AGG_MEM_CORRELATION_FACTOR Query Option (Impala 4.4 or higher only)</a>
</p>
</div>
<div class="related-links">
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_set.html">SET Statement</a></div>
</div>
</div></body>
</html>