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

91 lines
5.3 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="CPI4350 - Materialized query tables were considered for optimization" />
<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="cpi4349" />
<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>CPI4350 - Materialized query tables were considered for optimization</title>
</head>
<body id="cpi4349"><a name="cpi4349"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CPI4350 - Materialized query tables were considered for optimization</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">CPI4350</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 ">Materialized query tables were considered for optimization.</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Cause Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">The query optimizer considered usage of materialized query tables for
this query. Following each materialized query table name in the list
is a reason code which explains why the materialized query table was not used.
A reason code of 0 indicates that the materialized query table was used to
implement the query. <p>The reason codes and their meanings follow: </p>
<ol><li>The cost to use the materialized query table, as determined by the optimizer,
was higher than the cost associated with the chosen implementation. </li>
<li>The join specified in the materialized query was not compatible with the
query.</li>
<li>The materialized query table had predicates that were not matched in the
query.</li>
<li>The grouping or distinct specified in the materialized query table is
not compatible with the grouping or distinct specified in the query.</li>
<li>The query specified columns that were not in the select-list of the materialized
query table. </li>
<li>The materialized query table query contains functionality that is not
supported by the query optimizer. </li>
<li>The materialized query table specified the DISABLE QUERY OPTIMIZATION
clause.</li>
<li>The ordering specified in the materialized query table is not compatible
with the ordering specified in the query. </li>
<li>The query contains functionality that is not supported by the materialized
query table matching algorithm.</li>
<li>Materialized query tables may not be used for this query. </li>
<li>The refresh age of this materialized query table exceeds the duration
specified by the MATERIALIZED_QUERY_TABLE_REFRESH_AGE QAQQINI option. </li>
<li>The commit level of the materialized query table is lower than the commit
level specified for the query.</li>
<li>The FETCH FOR FIRST n ROWS clause of the materialized query table is not
compatible with the query. </li>
<li>The QAQQINI options used to create the materialized query table are not
compatible with the QAQQINI options used to run this query. </li>
<li>The materialized query table is not usable.</li>
<li>The UNION specified in the materialized query table is not compatible
with the query.</li>
<li>The constants specified in the materialized query table are not compatible
with host variable values specified in the query.</li>
</ol>
</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Recovery Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">The user may want to delete any materialized query tables that are
no longer needed.</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>