84 lines
5.4 KiB
HTML
84 lines
5.4 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 lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Controlling system wide parallel processing for queries" />
|
|
<meta name="abstract" content="You can use the QQRYDEGREE system value to control parallel processing for a server." />
|
|
<meta name="description" content="You can use the QQRYDEGREE system value to control parallel processing for a server." />
|
|
<meta name="DC.subject" content="parallel processing, controlling, system wide (QQRYDEGREE) value" />
|
|
<meta name="keywords" content="parallel processing, controlling, system wide (QQRYDEGREE) value" />
|
|
<meta name="DC.Relation" scheme="URI" content="smp0001.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="syswidepar" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Controlling system wide parallel processing for queries</title>
|
|
</head>
|
|
<body id="syswidepar"><a name="syswidepar"><!-- --></a>
|
|
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Controlling system wide parallel processing for queries</h1>
|
|
<div><p>You can use the QQRYDEGREE system value to control parallel processing
|
|
for a server. </p>
|
|
<div class="section"><div class="p">The current value of the system value can be displayed
|
|
or modified using the following CL commands: <ul><li><a href="../cl/wrksysval.htm"><span class="cmdname">WRKSYSVAL</span></a> - <span class="cmdname">Work
|
|
with System Value</span></li>
|
|
<li><a href="../cl/chgsysval.htm"><span class="cmdname">CHGSYSVAL</span></a> - <span class="cmdname">Change
|
|
System Value</span></li>
|
|
<li><a href="../cl/dspsysval.htm"><span class="cmdname">DSPSYSVAL</span></a> - <span class="cmdname">Display
|
|
System Value</span></li>
|
|
<li><a href="../cl/rtvsysval.htm"><span class="cmdname">RTVSYSVAL</span></a> - <span class="cmdname">Retrieve
|
|
System Value</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="section"><p>The special values for QQRYDEGREE control whether parallel processing
|
|
is allowed by default for all jobs on the server. The possible values are:
|
|
</p>
|
|
<dl><dt class="dlterm"><span class="synph"><span class="kwd">*NONE</span></span></dt>
|
|
<dd>No parallel processing is allowed for database query processing.</dd>
|
|
<dt class="dlterm"><span class="synph"><span class="kwd">*IO</span></span></dt>
|
|
<dd>I/O parallel processing is allowed for queries.</dd>
|
|
<dt class="dlterm"><span class="synph"><span class="kwd">*OPTIMIZE</span></span></dt>
|
|
<dd>The query optimizer can choose to use any number of tasks for either I/O
|
|
or SMP parallel processing to process the queries. SMP parallel processing
|
|
is used only if the <span class="keyword">DB2<sup>®</sup> UDB Symmetric Multiprocessing</span> feature
|
|
is installed. The query optimizer chooses to use parallel processing to minimize
|
|
elapsed time based on the job's share of the memory in the pool.</dd>
|
|
<dt class="dlterm"><span class="synph"><span class="kwd">*MAX</span></span></dt>
|
|
<dd>The query optimizer can choose to use either I/O or SMP parallel processing
|
|
to process the query. SMP parallel processing can be used only if the <span class="keyword">DB2 UDB Symmetric Multiprocessing</span> feature is installed. The
|
|
choices made by the query optimizer are similar to those made for parameter
|
|
value *OPTIMIZE, except the optimizer assumes that all active memory in the
|
|
pool can be used to process the query.</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="section"><p>The default value of the QQRYDEGREE system value is *NONE, so
|
|
you must change the value if you want parallel query processing as the default
|
|
for jobs run on the server.</p>
|
|
</div>
|
|
<div class="section"><p>Changing this system value affects all jobs that will be run or
|
|
are currently running on the server whose DEGREE query attribute is *SYSVAL.
|
|
However, queries that have already been started or queries using reusable
|
|
ODPs are not affected.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="smp0001.htm" title="There are two types of parallel processing available. The first is a parallel I/O that is available at no charge. The second is DB2 UDB Symmetric Multiprocessing, a feature that you can purchase. You can turn parallel processing on and off.">Control parallel processing for queries</a></div>
|
|
</div>
|
|
</div>
|
|
<img src="./deltaend.gif" alt="End of change" /></body>
|
|
</html> |