78 lines
5.3 KiB
HTML
78 lines
5.3 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="concept" />
|
|
<meta name="DC.Title" content="Data access on DB2 UDB for iSeries: data access paths and methods" />
|
|
<meta name="abstract" content="Data access methods are used to process queries and access data." />
|
|
<meta name="description" content="Data access methods are used to process queries and access data." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqkickoff.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqpermobj.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqtempobj.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajq1parallel.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="spreaddata.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="rzajqdta" />
|
|
<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>Data access on DB2 UDB for iSeries:
|
|
data access paths and methods</title>
|
|
</head>
|
|
<body id="rzajqdta"><a name="rzajqdta"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Data access on <span class="keyword">DB2 UDB for iSeries™</span>:
|
|
data access paths and methods</h1>
|
|
<div><p>Data access methods are used to process queries and access data.</p>
|
|
<p>In general, the query engine has two kinds of raw material with which to
|
|
satisfy a query request: </p>
|
|
<ul><li>The database objects that contain the data to be queries</li>
|
|
<li>The executable instructions or operations to retrieve and transform the
|
|
data into usable information</li>
|
|
</ul>
|
|
<p>There are actually only two types of permanent database objects that can
|
|
be used as source material for a query — tables and indexes (binary radix
|
|
and encoded vector indexes). In addition, the query engine may need to create
|
|
temporary objects or data structures to hold interim results or references
|
|
during the execution of an access plan. The <span class="keyword">DB2<sup>®</sup> UDB Symmetric Multiprocessing</span> feature
|
|
provides the optimizer with additional methods for retrieving data that include
|
|
parallel processing. Finally, the optimizer uses certain methods to manipulate
|
|
these objects.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzajqpermobj.htm">Permanent objects and access methods</a></strong><br />
|
|
The database objects and access methods used by the query engine can be broken down into three basic types of operations that are used to manipulate the permanent and temporary objects -- Create, Scan, and Probe.</li>
|
|
<li class="ulchildlink"><strong><a href="rzajqtempobj.htm">Temporary objects and access methods</a></strong><br />
|
|
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.</li>
|
|
<li class="ulchildlink"><strong><a href="rzajq1parallel.htm">Objects processed in parallel</a></strong><br />
|
|
The <span class="keyword">DB2 UDB Symmetric Multiprocessing</span> feature
|
|
provides the optimizer with additional methods for retrieving data that include
|
|
parallel processing. Symmetrical multiprocessing (SMP) is a form of parallelism
|
|
achieved on a single server where multiple (CPU and I/O) processors that share
|
|
memory and disk resource work simultaneously toward achieving a single end
|
|
result.</li>
|
|
<li class="ulchildlink"><strong><a href="spreaddata.htm">Spreading data automatically</a></strong><br />
|
|
DB2
|
|
Universal Database™ for iSeries™ automatically spreads the data across the
|
|
disk devices available in the auxiliary storage pool (ASP) where the data
|
|
is allocated. This ensures that the data is spread without user intervention. </li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqkickoff.htm" title="The goal of database performance tuning is to minimize the response time of your queries and to make the best use of your server's resources by minimizing network traffic, disk I/O, and CPU time. This goal can only be achieved by understanding the logical and physical structure of your data, understanding the applications used on your server, and understanding how the many conflicting uses of your database may impact database performance.">Performance and query optimization</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |