ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajq_5.4.0.1/smp0001.htm

63 lines
4.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Control parallel processing for queries" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta name="DC.subject" content="controlling parallel processing" />
<meta name="keywords" content="controlling parallel processing" />
<meta name="DC.Relation" scheme="URI" content="cqa.htm" />
<meta name="DC.Relation" scheme="URI" content="syswidepar.htm" />
<meta name="DC.Relation" scheme="URI" content="joblevelpar.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="smp0001" />
<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>Control parallel processing for queries</title>
</head>
<body id="smp0001"><a name="smp0001"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Control parallel processing for queries</h1>
<div><p>There are two types of parallel processing available. The first
is a parallel I/O that is available at no charge. The second is <span class="keyword">DB2<sup>®</sup> UDB Symmetric Multiprocessing</span>, a feature that you can
purchase. You can turn parallel processing on and off. </p>
<div class="section"><p>Even though parallelism has been enabled for a server or given
job, the individual queries that run in a job might not actually use a parallel
method. This might be because of functional restrictions, or the optimizer
might choose a non-parallel method because it runs faster.</p>
</div>
<div class="section"><p>Because queries being processed with parallel access methods aggressively
use main storage, CPU, and disk resources, the number of queries that use
parallel processing should be limited and controlled.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="syswidepar.htm">Controlling system wide parallel processing for queries</a></strong><br />
You can use the QQRYDEGREE system value to control parallel processing for a server.</li>
<li class="ulchildlink"><strong><a href="joblevelpar.htm">Controlling job level parallel processing for queries</a></strong><br />
You can also control query parallel processing at the job level
using the DEGREE parameter of the <span class="cmdname">Change Query Attributes (CHGQRYA)</span> command
or in the QAQQINI file, or using the SET_CURRENT_DEGREE SQL statement. </li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cqa.htm" title="You can modify different types of attributes of the queries that you will execute during a certain job with the Change Query Attributes (CHGQRYA) CL command, or by using the iSeries Navigator Change Query Attributes interface.">Change the attributes of your queries with the Change Query Attributes (CHGQRYA) command</a></div>
</div>
</div>
</body>
</html>