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

88 lines
5.2 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="CPI4345 - Temporary distributed result file &amp;3 built for query" />
<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="cpi4345" />
<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>CPI4345 - Temporary distributed result file &amp;3 built for query</title>
</head>
<body id="cpi4345"><a name="cpi4345"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CPI4345 - Temporary distributed result file &amp;3 built for query</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">CPI4345</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 ">Temporary distributed result file &amp;3 built for query.</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Cause Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">Temporary distributed result file &amp;3 was created to contain the
intermediate results of the query for reason code &amp;6. The reason codes
and their meanings follow: <ol><li>Data from member &amp;2 of &amp;7 &amp;8 in library &amp;1 was directed
to other nodes.</li>
<li>Data from member &amp;2 of &amp;7 &amp;8 in library &amp;1 was broadcast
to all nodes.</li>
<li>Either the query contains grouping fields (GROUP BY) that do not match
the partitioning keys of the distributed file or the query contains grouping
criteria but no grouping fields were specified or the query contains a subquery.</li>
<li>Query contains join criteria over a distributed file and the query was
processed in multiple steps.</li>
</ol>
A library and member name of *N indicates the data comes from a query
temporary distributed file. <p></p>
File &amp;3 was built on nodes: &amp;9.
<p></p>
It was built using partitioning keys: &amp;10. <p></p>
A
partitioning key of *N indicates no partitioning keys were used when building
the temporary distributed result file.</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Recovery Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">If the reason code is: <ol><li>Generally, a file is directed when the join fields do not match the partitioning
keys of the distributed file. When a file is directed, the query is processed
in multiple steps and processed in parallel. A temporary distributed result
file is required to contain the intermediate results for each step.</li>
<li>Generally, a file is broadcast when join fields do not match the partitioning
keys of either file being joined or the join operator is not an equal operator.
When a file is broadcast the query is processed in multiple steps and processed
in parallel. A temporary distributed result file is required to contain the
intermediate results for each step.</li>
<li>Better performance may be achieved if grouping fields are specified that
match the partitioning keys.</li>
<li>Because the query is processed in multiple steps, a temporary distributed
result file is required to contain the intermediate results for each step.
See preceding message CPI4342 to determine which files were joined together.</li>
</ol>
For more information about processing of distributed files, refer to
the <a href="../ddp/rbal1kickoff.htm">Distributed
Database Programming</a>,</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>