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

78 lines
4.4 KiB
HTML
Raw Permalink 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="CPI4328 - Access path of file &amp;3 was used by 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="cpi4328" />
<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>CPI4328 - Access path of file &amp;3 was used by query</title>
</head>
<body id="cpi4328"><a name="cpi4328"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CPI4328 - Access path of file &amp;3 was used by 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">CPI4328</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 ">Access path of file &amp;3 was used by 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 ">Access path for member &amp;5 of file &amp;3 in library &amp;4 was
used to access records from member &amp;2 of &amp;12 &amp;13 in library &amp;1
for reason code &amp;9. The reason codes and their meanings follow: <ol><li>Record selection.</li>
<li>Ordering/grouping criteria.</li>
<li>Record selection and ordering/grouping criteria.</li>
</ol>
<p></p>
If file &amp;13 in library &amp;1 is a logical file then member &amp;8
of physical file &amp;6 in library &amp;7 is the actual file being accessed.
<p></p>
Index only access was used for this query: &amp;11. <p></p>
A
value of *YES for index only access processing indicates that all of the fields
used for this query can be found within the access path of file &amp;3. A
value of *NO indicates that index only access could not be performed for this
access path. <p></p>
Index only access is generally a performance advantage
since all of the data can be extracted from the access path and the data space
does not have to be paged into active memory.</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Recovery Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">An access path can only be considered for index only access if all
of the fields used within the query for this file are also key fields for
that access path. <p></p>
Refer to <a href="rzajqdta.htm#rzajqdta">Data access on DB2 UDB for iSeries: data access paths and methods</a> for
additional tips on index only access.</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>This message names an existing index that was used by the query.</p>
</div>
<div class="section"><p>The reason the index was used is given in the message help.</p>
</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>