115 lines
8.2 KiB
HTML
115 lines
8.2 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="Temporary objects and access methods" />
|
||
|
<meta name="abstract" content="Temporary objects are created by the optimizer in order to process a query. In general, these temporary objects are internal objects and cannot be accessed by a user." />
|
||
|
<meta name="description" content="Temporary objects are created by the optimizer in order to process a query. In general, these temporary objects are internal objects and cannot be accessed by a user." />
|
||
|
<meta name="DC.subject" content="definitions, temporary objects, access method" />
|
||
|
<meta name="keywords" content="definitions, temporary objects, access method" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqdta.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtemphash.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtempslist.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtemplist.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtemprnl.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtempbit.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtempindex.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqtempbuff.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajqqueue.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="rzajqtempobj" />
|
||
|
<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>Temporary objects and access methods</title>
|
||
|
</head>
|
||
|
<body id="rzajqtempobj"><a name="rzajqtempobj"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Temporary objects and access methods</h1>
|
||
|
<div><p>Temporary objects are created by the optimizer in order to process
|
||
|
a query. In general, these temporary objects are internal objects and cannot
|
||
|
be accessed by a user.</p>
|
||
|
|
||
|
<div class="tablenoborder"><img src="./delta.gif" alt="Start of change" /><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Temporary object's data access methods</caption><thead align="left"><tr><th valign="top" id="d0e30">Temporary create objects</th>
|
||
|
<th valign="top" id="d0e32">Scan operations</th>
|
||
|
<th valign="top" id="d0e34">Probe operations</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e30 ">Temporary hash table</td>
|
||
|
<td valign="top" headers="d0e32 ">Hash table scan</td>
|
||
|
<td valign="top" headers="d0e34 ">Hash table probe</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary sort list</td>
|
||
|
<td valign="top" headers="d0e32 ">Sorted list scan</td>
|
||
|
<td valign="top" headers="d0e34 ">Sorted list probe</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary list</td>
|
||
|
<td valign="top" headers="d0e32 ">List scan</td>
|
||
|
<td valign="top" headers="d0e34 ">N/A</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary row number list</td>
|
||
|
<td valign="top" headers="d0e32 ">Row number list scan</td>
|
||
|
<td valign="top" headers="d0e34 ">Row number list probe</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary bitmap</td>
|
||
|
<td valign="top" headers="d0e32 ">Bitmap scan</td>
|
||
|
<td valign="top" headers="d0e34 ">Bitmap probe</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary index</td>
|
||
|
<td valign="top" headers="d0e32 ">Temporary index scan</td>
|
||
|
<td valign="top" headers="d0e34 ">Temporary index probe</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Temporary buffer</td>
|
||
|
<td valign="top" headers="d0e32 ">Buffer scan</td>
|
||
|
<td valign="top" headers="d0e34 ">N/A</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e30 ">Queue</td>
|
||
|
<td valign="top" headers="d0e32 ">N/A</td>
|
||
|
<td valign="top" headers="d0e34 ">N/A</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtemphash.htm">Temporary hash table</a></strong><br />
|
||
|
The temporary hash table is a temporary object that allows the optimizer to collate the rows based upon a column or set of columns. The hash table can be either scanned or probed by the optimizer to satisfy different operations of the query.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtempslist.htm">Temporary sorted list</a></strong><br />
|
||
|
The temporary sorted list is a temporary object that allows the optimizer to sequence rows based upon a column or set of columns. The sorted list can be either scanned or probed by the optimizer to satisfy different operations of the query.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtemplist.htm">Temporary list</a></strong><br />
|
||
|
The temporary list is a temporary object that allows the optimizer to store intermediate results of a query. The list is an unsorted data structure that is used to simplify the operation of the query. Since the list does not have any keys, the rows within the list can only be retrieved by a sequential scan operation.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtemprnl.htm">Temporary row number list</a></strong><br />
|
||
|
The temporary row number list is a temporary object that allows the optimizer to sequence rows based upon their row address (their row number). The row number list can be either scanned or probed by the optimizer to satisfy different operations of the query.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtempbit.htm">Temporary bitmap</a></strong><br />
|
||
|
The temporary bitmap is a temporary object that allows the optimizer to sequence rows based upon their row address (their row number). The bitmap can be either scanned or probed by the optimizer to satisfy different operations of the query.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtempindex.htm">Temporary index</a></strong><br />
|
||
|
A temporary index is a temporary object that allows the optimizer
|
||
|
to create and use a radix index for a specific query. The temporary index
|
||
|
has all of the same attributes and benefits as a radix index that is created
|
||
|
by a user through the CREATE INDEX SQL statement or <span class="cmdname">Create Logical
|
||
|
File (CRTLF)</span> CL command.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqtempbuff.htm">Temporary buffer</a></strong><br />
|
||
|
The temporary buffer is a temporary object that is used to help facilitate operations such as parallelism. It is an unsorted data structure that is used to store intermediate rows of a query. The main difference between a temporary buffer and a temporary list is that the buffer does not need to be fully populated in order to allow its results to be processed.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rzajqqueue.htm">Queue</a></strong><br />
|
||
|
The Queue is a temporary object that allows the optimizer to feed the recursion of a recursive query by putting on the queue those data values needed for the recursion. This data typically includes those values used on the recursive join predicate and other recursive data being accumulated or manipulated during the recursive process.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqdta.htm" title="Data access methods are used to process queries and access data.">Data access on DB2 UDB for iSeries: data access paths and methods</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|