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

75 lines
5.1 KiB
HTML
Raw 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="Temporary buffer" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta name="DC.subject" content="definitions, temporary buffer access method, temporary buffer, scan access method, access method" />
<meta name="keywords" content="definitions, temporary buffer access method, temporary buffer, scan access method, access method" />
<meta name="DC.Relation" scheme="URI" content="rzajqtempobj.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajqbuffscan.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="rzajqtempbuff" />
<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 buffer</title>
</head>
<body id="rzajqtempbuff"><a name="rzajqtempbuff"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Temporary buffer</h1>
<div><p>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.</p>
<div class="section"><p>The temporary buffer acts as a serialization point between parallel
and non-parallel portions of a query. The operations used to populate the
buffer cannot be performed in parallel, whereas the operations that fetch
rows from the buffer can be performed in parallel. The temporary buffer is
required for the SQL Query Engine because the index scan and index probe operations
are not considered to be SMP parallel enabled for this engine. Unlike the
Classic Query Engine, which will perform these index operations in parallel,
the SQL Query Engine will not subdivide the work necessary within the index
operation to take full advantage of parallel processing. The buffer is used
to allow a query to be processed under parallelism by serializing access to
the index operations, while allowing any remaining work within the query to
be processed in parallel.</p>
</div>
<div class="section"><p>A temporary buffer is an internal data structure and can only
be created by the database manager.</p>
</div>
<div class="section"><p>Visual explain icon:</p>
</div>
<div class="section"><p><img src="rzajq537.gif" alt="Temporary buffer icon" /></p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzajqbuffscan.htm">Buffer scan</a></strong><br />
The buffer scan operation is used when a query is processed using DB2<sup>®</sup> UDB
Symmetric Multiprocessing, yet a portion of the query is not enabled to be
processed under parallelism. The buffer scan acts as a gateway to control
access to rows between the parallel enabled portions of the query and the
non-parallel portions.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqtempobj.htm" title="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.">Temporary objects and access methods</a></div>
</div>
</div>
</body>
</html>