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

74 lines
4.2 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="SQL7917 - Access plan not updated" />
<meta name="DC.Relation" scheme="URI" content="pimesodp.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="sql7917" />
<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>SQL7917 - Access plan not updated</title>
</head>
<body id="sql7917"><a name="sql7917"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SQL7917 - Access plan not updated</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">SQL7917</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 plan not updated.</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 rebuilt the access plan for this statement, but
the program could not be updated. Another job may be running the program.
The program cannot be updated with the new access plan until a job can obtain
an exclusive lock on the program. The exclusive lock cannot be obtained if
another job is running the program, if the job does not have proper authority
to the program, or if the program is currently being saved. The query will
still run, but access plan rebuilds will continue to occur until the program
is updated.</td>
</tr>
<tr valign="middle"><td valign="middle" width="26.02040816326531%" headers="d0e16 ">Recovery Text:</td>
<td valign="middle" width="73.9795918367347%" headers="d0e16 ">See previous messages from the query optimizer to determine why the
access plan has been rebuilt. To ensure that the program gets updated with
the new access plan, run the program when no other active jobs are using it.</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>The database manager rebuilt the access plan for this statement,
but the program could not be updated with the new access plan. Another job
is currently running the program that has a shared lock on the access plan
of the program.</p>
</div>
<div class="section"><p>The program cannot be updated with the new access plan until the
job can obtain an exclusive lock on the access plan of the program. The exclusive
lock cannot be obtained until the shared lock is released.</p>
</div>
<div class="section"><p>The statement will still run and the new access plan will be used;
however, the access plan will continue to be rebuilt when the statement is
run until the program is updated.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="pimesodp.htm" title="Several of the following SQL run-time messages refer to open data paths.">Query optimization performance information messages and open data paths</a></div>
</div>
</div>
</body>
</html>