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

136 lines
8.9 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="concept" />
<meta name="DC.Title" content="Database manager indexes advised system table" />
<meta name="abstract" content="This topic describes the indexes advised system table." />
<meta name="description" content="This topic describes the indexes advised system table." />
<meta name="DC.Relation" scheme="URI" content="rzajqshowindexes.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="rzajqindexadvisor" />
<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>Database manager indexes advised system table</title>
</head>
<body id="rzajqindexadvisor"><a name="rzajqindexadvisor"><!-- --></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">Database manager indexes advised system table</h1>
<div><p>This topic describes the indexes advised system table.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. SYSIXADV system table</caption><thead align="left"><tr><th valign="top" width="29.577464788732392%" id="d0e22">Column name</th>
<th valign="top" width="14.929577464788732%" id="d0e24">System column name</th>
<th valign="top" width="17.183098591549296%" id="d0e26">Data type</th>
<th valign="top" width="38.309859154929576%" id="d0e28">Description</th>
</tr>
</thead>
<tbody><tr valign="top"><td valign="top" width="29.577464788732392%" headers="d0e22 ">TABLE_NAME</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">TBNAME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">VARCHAR(258)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Table over which an index is advised</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">TABLE_SCHEMA</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">DBNAME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(10)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Schema containing the table</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">SYSTEM_TABLE_NAME</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">SYS_TNAME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(10)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">System table name on which the index is advised</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">PARTITION_NAME</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">TBMEMBER</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(10)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Partition detail for the index</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">KEY_COLUMNS_ADVISED</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">KEYSADV</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">VARCHAR(16000)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Column names for the advised index</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">LEADING_COLUMN_KEYS</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">LEADKEYS</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">VARCHAR(16000)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Leading, Order Independent keys. the keys at the beginning
of the KEY_COLUMNS_ADVISED field which could be reordered and still satisfy
the index being advised.</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">INDEX_TYPE</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">INDEX_TYPE</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(14)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Radix (default) or EVI</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">LAST_ADVISED</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">LASTADV</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">TIMESTAMP</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Last time this row was updated</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">TIMES_ADVISED</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">TIMESADV</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">BIGTINT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Number of times this index has been advised</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">ESTIMATED_CREATION_TIME</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">ESTTIME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">INT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Estimated number of seconds for index creation</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">REASON_ADVISED</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">REASON</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(2)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Coded reason why index was advised</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">LOGICAL_PAGE_SIZE</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">PAGESIZE</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">INT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Recommended page size for index</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">MOST_EXPENSIVE_QUERY</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">QUERYCOST</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">INT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Execution time in seconds of the query</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">AVERAGE_QUERY_ESTIMATE</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">QUERYEST</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">INT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Average execution time in seconds of the query</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">TABLE_SIZE</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">TABLE_SIZE</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">BIGINT</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Number of rows in table when the index was advised</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">NLSS_TABLE_NAME</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">NLSSNAME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(10)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">NLSS table to use for the index</td>
</tr>
<tr><td valign="top" width="29.577464788732392%" headers="d0e22 ">NLSS_TABLE_SCHEMA</td>
<td valign="top" width="14.929577464788732%" headers="d0e24 ">NLSSDBNAME</td>
<td valign="top" width="17.183098591549296%" headers="d0e26 ">CHAR(10)</td>
<td valign="top" width="38.309859154929576%" headers="d0e28 ">Library name of the NLSS table</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <img src="./delta.gif" alt="Start of change" /><a href="rzajqshowindexes.htm" title="You can display index advisor information from the optimizer using iSeries Navigator.">Display index advisor information</a><img src="./deltaend.gif" alt="End of change" /></div>
</div>
</div>
<img src="./deltaend.gif" alt="End of change" /></body>
</html>