blob: b1bfe64ae1352d07c02715d842676f6a8654ce28 [file] [log] [blame]
<?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 2023" />
<meta name="DC.rights.owner" content="(C) Copyright 2023" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="COMPUTE_STATS_MIN_SAMPLE_SIZE Query Option" />
<meta name="DC.Relation" scheme="URI" content="../topics/impala_set.html" />
<meta name="prodname" content="Impala" />
<meta name="prodname" content="Impala" />
<meta name="version" content="Impala 3.4.x" />
<meta name="version" content="Impala 3.4.x" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="compute_stats_sample_min_sample_size" />
<link rel="stylesheet" type="text/css" href="../commonltr.css" />
<title>COMPUTE_STATS_MIN_SAMPLE_SIZE Query Option</title>
</head>
<body id="compute_stats_sample_min_sample_size">
<h1 class="title topictitle1" id="ariaid-title1">COMPUTE_STATS_MIN_SAMPLE_SIZE Query Option</h1>
<div class="body conbody">
<p class="p">The <code class="ph codeph">COMPUTE_STATS_MIN_SAMPLE_SIZE</code> query option specifies
the minimum number of bytes that will be scanned in <code class="ph codeph">COMPUTE STATS
TABLESAMPLE</code>, regardless of the user-supplied sampling percent.
This query option prevents sampling for very small tables where accurate
stats can be obtained cheaply without sampling because the minimum sample
size is required to get meaningful stats.</p>
<p class="p">
<strong class="ph b">Type:</strong> integer
</p>
<p class="p"><strong class="ph b">Default:</strong> 1GB</p>
<p class="p"><strong class="ph b">Added in</strong>: <span class="keyword">Impala 2.12</span></p>
<p class="p">
<strong class="ph b">Usage notes:</strong>
</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>