| <?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="NUM_SCANNER_THREADS Query Option" /> |
| <meta name="DC.Relation" scheme="URI" content="../topics/impala_query_options.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="num_scanner_threads" /> |
| <link rel="stylesheet" type="text/css" href="../commonltr.css" /> |
| <title>NUM_SCANNER_THREADS Query Option</title> |
| </head> |
| <body id="num_scanner_threads"> |
| |
| |
| <h1 class="title topictitle1" id="ariaid-title1">NUM_SCANNER_THREADS Query Option</h1> |
| |
| |
| |
| |
| <div class="body conbody"> |
| |
| <p class="p"> |
| |
| Maximum number of scanner threads (on each node) used for each query. By default, Impala uses as many cores |
| as are available (one thread per core). You might lower this value if queries are using excessive resources |
| on a busy cluster. Impala imposes a maximum value automatically, so a high value has no practical effect. |
| </p> |
| |
| |
| <p class="p"> |
| Has no effect if multi-threaded query execution is enabled, i.e. |
| <code class="ph codeph">MT_DOP</code> is greater than 0. |
| </p> |
| |
| <p class="p"> |
| <strong class="ph b">Type:</strong> numeric |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Default:</strong> 0 |
| </p> |
| |
| |
| </div> |
| |
| <div class="related-links"> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_query_options.html">Query Options for the SET Statement</a></div> |
| </div> |
| </div></body> |
| </html> |