88 lines
5.1 KiB
HTML
88 lines
5.1 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="CPI4331 - &6 tasks used for parallel index created over file" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="pimes.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="cpi4331" />
|
||
|
<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>CPI4331 - &6 tasks used for parallel index created over file</title>
|
||
|
</head>
|
||
|
<body id="cpi4331"><a name="cpi4331"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">CPI4331 - &6 tasks used for parallel index created over file</h1>
|
||
|
<div>
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" align="center" valign="middle" id="d0e16">CPI4331</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Message Text:</td>
|
||
|
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">&6 tasks used for parallel index created over file &1.</td>
|
||
|
</tr>
|
||
|
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Cause Text:</td>
|
||
|
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">&6 is the average numbers of tasks used for an index created over
|
||
|
member &3 of file &1 in library &2. <p></p>
|
||
|
If file &1
|
||
|
in library &2 is a logical file, then member &9 of physical file &7
|
||
|
in library &8 is the actual file over which the index is being built.
|
||
|
<p></p>
|
||
|
A file name starting with *QUERY or *N for the file indicates
|
||
|
a temporary result file is being used. <p></p>
|
||
|
The query optimizer
|
||
|
has calculated that the optimal number of tasks is &5 which was limited
|
||
|
for reason code &4. The definition of reason codes are:
|
||
|
<ol><li>The *NBRTASKS parameter value was specified for the DEGREE parameter of
|
||
|
the <span class="cmdname">CHGQRYA</span> CL command.</li>
|
||
|
<li>The optimizer calculated the number of tasks which would use all of the
|
||
|
central processing units (CPU).</li>
|
||
|
<li>The optimizer calculated the number of tasks which can efficiently run
|
||
|
in this job's share of the memory pool.</li>
|
||
|
<li>The optimizer calculated the number of tasks which can efficiently run
|
||
|
using the entire memory pool.</li>
|
||
|
</ol>
|
||
|
The database manager may further limit the number of tasks used for the
|
||
|
parallel index build if either the allocation of the file's data is not evenly
|
||
|
distributed across disk units or the system has too few disk units.</td>
|
||
|
</tr>
|
||
|
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Recovery Text:</td>
|
||
|
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">To disallow usage of parallel index build, specify *NONE on the query
|
||
|
attribute degree. <p></p>
|
||
|
A larger number of tasks might further improve
|
||
|
performance. The following actions based on the reason code might allow the
|
||
|
optimizer to calculate a larger number: <ol><li>Specify a larger number of tasks value for the DEGREE parameter of the <span class="cmdname">CHGQRYA</span> CL
|
||
|
command. Start with a value for number of tasks which is a slightly larger
|
||
|
than &5 to see if a performance improvement is achieved.</li>
|
||
|
<li>Simplify the query by reducing the number of fields being mapped to the
|
||
|
result buffer or by removing expressions. Also, try specifying a number of
|
||
|
tasks for the DEGREE parameter of the <span class="cmdname">CHGQRYA</span> CL command
|
||
|
as described by reason code 1.</li>
|
||
|
<li>Specify *MAX for the query attribute degree.</li>
|
||
|
<li>Increase the size of the memory pool.</li>
|
||
|
</ol>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="pimes.htm" title="You can evaluate the structure and performance of the given SQL statements in a program using informational messages put in the job log by the database manager.">Query optimization performance information messages</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|