74 lines
5.0 KiB
HTML
74 lines
5.0 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="Encoded vector index" />
|
|
<meta name="abstract" content="An encoded vector index is a permanent object that provides access to a table by assigning codes to distinct key values and then representing those values in a vector." />
|
|
<meta name="description" content="An encoded vector index is a permanent object that provides access to a table by assigning codes to distinct key values and then representing those values in a vector." />
|
|
<meta name="DC.subject" content="definitions, encoded vector index access method, index, encoded vector index, access method" />
|
|
<meta name="keywords" content="definitions, encoded vector index access method, index, encoded vector index, access method" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqpermobj.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqeviscan.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzajqeviprobe.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="perf21c" />
|
|
<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>Encoded vector index</title>
|
|
</head>
|
|
<body id="perf21c"><a name="perf21c"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Encoded vector index</h1>
|
|
<div><p>An encoded vector index is a permanent object that provides access
|
|
to a table by assigning codes to distinct key values and then representing
|
|
those values in a vector.</p>
|
|
<div class="section"><p>The size of the vector will match the number of rows in the underlying
|
|
table. Each vector entry represents the table row number in the same position.
|
|
The codes generated to represent the distinct key values can be 1, 2 or 4
|
|
bytes in length, depending upon the number of distinct values that need to
|
|
be represented. Because of their compact size and relative simplicity, the
|
|
EVI can be used to process large amounts of data very efficiently.</p>
|
|
</div>
|
|
<div class="section"><p>Even though an encoded vector index is used to represent the values
|
|
stored in a table, the index itself cannot be used to directly gain access
|
|
to the table. Instead, the encoded vector index can only be used to generate
|
|
either a temporary row number list or a temporary row number bitmap. These
|
|
temporary objects can then be used in conjunction with a Table Probe to specify
|
|
the rows in the table that the query needs to process. The main difference
|
|
with the Table Probe associated with an encoded vector index (versus a radix
|
|
index) is that the paging associated with the table can be asynchronous. The
|
|
I/O can now be scheduled more efficiently to take advantage of groups of selected
|
|
rows. Large portions of the table can be skipped over where no rows are selected.</p>
|
|
</div>
|
|
<div class="section"><p>Visual explain icon:</p>
|
|
</div>
|
|
<div class="section"><p><img src="rzajq509.gif" alt="Encoded vector index icon" /></p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzajqeviscan.htm">Encoded vector index symbol table scan</a></strong><br />
|
|
An encoded vector index symbol table scan operation is used to retrieve the entries from the symbol table portion of the index.</li>
|
|
<li class="ulchildlink"><strong><a href="rzajqeviprobe.htm">Encoded vector index probe</a></strong><br />
|
|
The encoded vector index (EVI) is quickly probed based upon the selection criteria that were rewritten into a series of ranges. It produces either a temporary row number list or bitmap.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajqpermobj.htm" title="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.">Permanent objects and access methods</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |