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

104 lines
6.5 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="Query optimization tools: Comparison table" />
<meta name="abstract" content="Use this table to learn what information each tool can yield about your query, when in the process a specific tool can analyze your query, and the tasks that each tool can perform to improve your query." />
<meta name="description" content="Use this table to learn what information each tool can yield about your query, when in the process a specific tool can analyze your query, and the tasks that each tool can perform to improve your query." />
<meta name="DC.Relation" scheme="URI" content="queryopt.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="compare" />
<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>Query optimization tools: Comparison table</title>
</head>
<body id="compare"><a name="compare"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Query optimization tools: Comparison table</h1>
<div><p>Use this table to learn what information each tool can yield about
your query, when in the process a specific tool can analyze your query, and
the tasks that each tool can perform to improve your query.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" valign="top" id="d0e21"><span class="cmdname">PRTSQLINF</span></th>
<th align="left" valign="top" id="d0e24"><span class="cmdname">STRDBG</span> or <span class="cmdname">CHGQRYA</span></th>
<th align="left" valign="top" id="d0e30">File-based monitor (STRDBMON)</th>
<th align="left" valign="top" id="d0e32">Memory-Based Monitor</th>
<th align="left" valign="top" id="d0e34">Visual Explain</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" headers="d0e21 ">Available without running query (after access
plan has been created)</td>
<td align="left" valign="top" headers="d0e24 ">Only available when the query is run</td>
<td align="left" valign="top" headers="d0e30 ">Only available when the query is run</td>
<td align="left" valign="top" headers="d0e32 ">Only available when the query is run</td>
<td align="left" valign="top" headers="d0e34 ">Only available when the query is explained</td>
</tr>
<tr><td align="left" valign="top" headers="d0e21 ">Displayed for all queries in SQL program,
whether executed or not</td>
<td align="left" valign="top" headers="d0e24 ">Displayed only for those queries which are
executed</td>
<td align="left" valign="top" headers="d0e30 ">Displayed only for those queries which are
executed</td>
<td align="left" valign="top" headers="d0e32 ">Displayed only for those queries which are
executed</td>
<td valign="top" headers="d0e34 ">Displayed only for those queries that are explained</td>
</tr>
<tr><td align="left" valign="top" headers="d0e21 ">Information about host variable implementation</td>
<td align="left" valign="top" headers="d0e24 ">Limited information about the implementation
of host variables</td>
<td align="left" valign="top" headers="d0e30 ">All information about host variables, implementation,
and values</td>
<td align="left" valign="top" headers="d0e32 ">All information about host variables, implementation,
and values</td>
<td valign="top" headers="d0e34 ">All information about host variables, implementation, and values</td>
</tr>
<tr><td align="left" valign="top" headers="d0e21 ">Available only to SQL users with programs,
packages, or service programs</td>
<td align="left" valign="top" headers="d0e24 ">Available to all query users (<span class="cmdname">OPNQRYF</span>,
SQL, QUERY/400)</td>
<td align="left" valign="top" headers="d0e30 ">Available to all query users (<span class="cmdname">OPNQRYF</span>,
SQL, QUERY/400) </td>
<td align="left" valign="top" headers="d0e32 ">Available only to SQL interfaces</td>
<td valign="top" headers="d0e34 ">Available through iSeries™ Navigator Database and API interface</td>
</tr>
<tr><td align="left" valign="top" headers="d0e21 ">Messages are printed to spool file</td>
<td align="left" valign="top" headers="d0e24 ">Messages is displayed in job log</td>
<td align="left" valign="top" headers="d0e30 ">Performance rows are written to database
table</td>
<td align="left" valign="top" headers="d0e32 ">Performance information is collected in memory
and then written to database table</td>
<td valign="top" headers="d0e34 ">Information is displayed visually through iSeries Navigator</td>
</tr>
<tr><td align="left" valign="top" headers="d0e21 ">Easier to tie messages to query with subqueries
or unions</td>
<td align="left" valign="top" headers="d0e24 ">Difficult to tie messages to query with subqueries
or unions</td>
<td align="left" valign="top" headers="d0e30 ">Uniquely identifies every query, subquery
and materialized view</td>
<td align="left" valign="top" headers="d0e32 ">Repeated query requests are summarized</td>
<td valign="top" headers="d0e34 ">Easy to view implementation of the query and associated information</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="queryopt.htm" title="Query optimization is an iterative process. You can gather performance information about your queries and control the processing of your queries.">Optimizing query performance using query optimization tools</a></div>
</div>
</div>
</body>
</html>