ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakz_5.4.0.1/rzakzqqrydegree.htm

114 lines
6.9 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="concept" />
<meta name="DC.Title" content="Performance system values: Parallel processing for queries and indexes" />
<meta name="abstract" content="Specifies whether to use parallel processing and what to use it for. (QQRYDEGREE)" />
<meta name="description" content="Specifies whether to use parallel processing and what to use it for. (QQRYDEGREE)" />
<meta name="DC.Relation" scheme="URI" content="rzakzperformanceoverview.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakzfinder.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="rzakzqqrydegree" />
<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>Performance system values: Parallel processing for queries and indexes</title>
</head>
<body id="rzakzqqrydegree"><a name="rzakzqqrydegree"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Performance system values: Parallel processing for queries and indexes</h1>
<div><p>Specifies whether to use parallel processing and what to use it
for. (QQRYDEGREE)</p>
<p><span class="uicontrol">Parallel processing for queries and indexes</span>, also
known as <span class="uicontrol">QQRYDEGREE</span>, is a member of the performance
category of i5/OS™ system
values. You can use this system value to specify whether to use parallel processing
and what to use it for. To learn more, keep reading.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" valign="top" class="firstcol" id="d0e31">Quick reference</th>
</tr>
</thead>
<tbody><tr><th valign="top" class="firstcol" id="d0e35" headers="d0e31 ">Location</th>
<td valign="top" headers="d0e35 d0e31 ">In iSeries™ Navigator,
select your system, <span class="menucascade"><span class="uicontrol"></span> &gt; <span class="uicontrol">Configuration
and Service</span> &gt; <span class="uicontrol">System Values</span> &gt; <span class="uicontrol">Performance</span> &gt; <span class="uicontrol">Database</span></span></td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e53" headers="d0e31 ">Special authority</th>
<td valign="top" headers="d0e53 d0e31 ">All object (*ALLOBJ) and security administrator (*SECADM)</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e58" headers="d0e31 ">Default value</th>
<td valign="top" headers="d0e58 d0e31 ">Do not allow parallel processing</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e63" headers="d0e31 ">Changes take effect</th>
<td valign="top" headers="d0e63 d0e31 ">Immediately</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e68" headers="d0e31 ">Lockable</th>
<td valign="top" headers="d0e68 d0e31 ">No</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><h4 class="sectiontitle">What can I do with this system value?</h4><p>Specifies
whether to allow parallel processing and whether the type of parallel processing
is input/output (I/O) parallel processing or symmetric multiprocessing (SMP).
For I/O parallel processing, the database manager can use multiple tasks for
input/output auxiliary storage processing for each query. Processing for the
central processing unit (CPU) is still done serially. For symmetric multiprocessing,
the CPU and I/O processing are assigned to tasks that run the query in parallel.
Actual CPU parallelism requires a system with multiple processors. SMP parallelism
is used only if the system feature DB2<sup>®</sup> Symmetric Multiprocessing for i5/OS is installed.</p>
<div class="note"><span class="notetitle">Example:</span> To determine what parts you need to buy for
your company, you run a query of inventory from a database. By running the
query, you determine which parts are sold out so you can replace them with
new parts. The query takes a long time to complete because the processors
cannot run at the same time. To increase the system performance, you should
allow parallel processing. This allows different processors to run at the
same time to perform the query much faster.</div>
<p>The following are possible
options:</p>
<ul><li><span class="uicontrol">Do not allow parallel processing (*NONE)</span> <p>No
parallel processing is allowed for database query processing.</p>
</li>
<li><span class="uicontrol">Use multiple processes for input/output (*IO)</span> <p>The
database query optimizer can use any number of tasks for I/O parallel processing
for queries. SMP parallel processing is not allowed.</p>
</li>
<li><span class="uicontrol">Use multiple processes for input/output, queries, and indexes
(*OPTIMIZE)</span> <p>The query optimizer can use any number of tasks
for either I/O or SMP parallel processing for queries. If you select to use
multiple processes for input/output, queries, and indexes, you can also select
to <span class="uicontrol">Use all active memory in memory pool (*MAX)</span>. Using
all active memory allows the query optimizer to choose an access plan that
might consume more of the system resources, but would provide faster run time
for a given query.</p>
</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Where can I get more information about this system value?</h4><p>To
learn more, go to the performance system values overview topic. If you are
looking for a specific system value or category of system values, try using
the i5/OS system
value finder.</p>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakzperformanceoverview.htm" title="Use i5/OS performance system values to view and change priority, performance adjustments, and processing values for the system.">System values: Performance overview</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="rzakzfinder.htm">System value finder</a></div>
</div>
</div>
</body>
</html>