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

132 lines
8.5 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="Manage index rebuilds" />
<meta name="abstract" content="You can manage the rebuild of your indexes using iSeries Navigator. You can view a list of access paths that are rebuilding and either hold the access path rebuild or change the priority of a rebuild." />
<meta name="description" content="You can manage the rebuild of your indexes using iSeries Navigator. You can view a list of access paths that are rebuilding and either hold the access path rebuild or change the priority of a rebuild." />
<meta name="DC.Relation" scheme="URI" content="rzajqindexopt.htm" />
<meta name="DC.Relation" scheme="URI" content="../dbp/rbaforzahfpro.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/edtrbdap.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="rzajqmanageindexrebuild" />
<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>Manage index rebuilds</title>
</head>
<body id="rzajqmanageindexrebuild"><a name="rzajqmanageindexrebuild"><!-- --></a>
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Manage index rebuilds</h1>
<div><p>You can manage the rebuild of your indexes using iSeries™ Navigator.
You can view a list of access paths that are rebuilding and either hold the
access path rebuild or change the priority of a rebuild.</p>
<div class="section"><p>To display Access paths to rebuild, follow these steps:</p>
<ol><li>In the iSeries Navigator
window, expand the system that you want to use.</li>
<li>Expand <strong>Databases</strong>.</li>
<li>Right-click the database that you want to work with and select <span class="uicontrol">Manage
index rebuilds</span>.</li>
</ol>
</div>
<div class="section"><p>The Access paths to rebuild dialog includes the following columns:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Columns for access path rebuild dialog</caption><thead align="left"><tr><th valign="top" width="24.242424242424242%" id="d0e48">Column</th>
<th valign="top" width="75.75757575757575%" id="d0e50">Description</th>
</tr>
</thead>
<tbody><tr valign="top"><td valign="top" width="24.242424242424242%" headers="d0e48 ">SQL Name</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Long name of access path being rebuilt</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Schema</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Schema name where the object is located</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Type</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Owning type of the object</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Status</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Status of the rebuild for this access path</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Rebuild Priority</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Priority in which the rebuild for this access path will
be run. Also referred to as sequence number.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Rebuild Reason</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Reason why this access path needs to be rebuilt.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Rebuild Reason Type</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Reason type why this access path needs to be rebuilt.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Invalidate Reason</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Reason why this access path was invalidated.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Invalidation Reason Type</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Reason type why this access path was invalidated</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Estimated Rebuild Time</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Amount of time that it is estimated that the rebuild
of the access path will take.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Rebuild Start Time</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Time when the rebuild was started.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Elapsed Rebuild Time</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Amount of time that has elapsed since the start of the
rebuild of the access path.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Unique</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Whether the rows in the access path are unique</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Last Query Use</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Time when the access path was last used.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Last Statistics Use</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Time when the access path was last used for statistics</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Query Use Count</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Number of times the access path has been used for a
query.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Statistics Use Count</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Number of times the access path has been used for statistics.</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Partition</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Partition name of the object</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Short Name</td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Short (system) name of access path being rebuilt</td>
</tr>
<tr><td valign="top" width="24.242424242424242%" headers="d0e48 ">Text </td>
<td valign="top" width="75.75757575757575%" headers="d0e50 ">Description of this access path if any.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><p>You can also use the <span class="cmdname">Edit Rebuild of Access Paths (EDTRBDAP)</span> command
to manage rebuilding of access paths.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqindexopt.htm" title="Since the iSeries optimizer uses cost based optimization, the more information that the optimizer is given about the rows and columns in the database, the better able the optimizer is to create the best possible (least costly/fastest) access plan for the query. With the information from the indexes, the optimizer can make better choices about how to process the request (local selection, joins, grouping, and ordering).">Indexes and the optimizer</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../dbp/rbaforzahfpro.htm">Rebuild access paths</a></div>
<div><a href="../cl/edtrbdap.htm">Edit Rebuild of Access Paths (EDTRBDAP) command</a></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>