94 lines
4.9 KiB
HTML
94 lines
4.9 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="Comparing Binary radix indexes and Encoded vector indexes" />
|
||
|
<meta name="abstract" content="DB2 UDB for iSeries makes indexes a powerful tool." />
|
||
|
<meta name="description" content="DB2 UDB for iSeries makes indexes a powerful tool." />
|
||
|
<meta name="DC.subject" content="index, comparing radix and encoded vector indexes" />
|
||
|
<meta name="keywords" content="index, comparing radix and encoded vector indexes" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="efindex.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="rzajqradixevi" />
|
||
|
<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>Comparing Binary radix indexes and Encoded vector indexes</title>
|
||
|
</head>
|
||
|
<body id="rzajqradixevi"><a name="rzajqradixevi"><!-- --></a>
|
||
|
<img src="./delta.gif" alt="Start of change" /><!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Comparing Binary radix indexes and Encoded vector indexes</h1>
|
||
|
<div><p>DB2<sup>®</sup> UDB
|
||
|
for iSeries™ makes
|
||
|
indexes a powerful tool. </p>
|
||
|
<p>The following table summarizes some of the differences between binary radix
|
||
|
indexes and encoded vector indexes: </p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. Comparison of radix and evi indexes</caption><thead align="left"><tr valign="bottom"><th valign="bottom" id="d0e33"> </th>
|
||
|
<th valign="bottom" id="d0e34">Binary Radix Indexes </th>
|
||
|
<th valign="bottom" id="d0e36">Encoded Vector Indexes</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e33 ">Basic data structure</td>
|
||
|
<td valign="top" headers="d0e34 ">A wide, flat tree</td>
|
||
|
<td valign="top" headers="d0e36 ">A Symbol Table and a vector</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Interface for creating</td>
|
||
|
<td valign="top" headers="d0e34 ">Command, SQL, iSeries Navigator</td>
|
||
|
<td valign="top" headers="d0e36 ">SQL, iSeries Navigator</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Can be created in parallel</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Can be maintained in parallel</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used for statistics</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used for selection</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes, via dynamic bitmaps or RRN list</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used for joining</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes (in conjunction with a hash table) </td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used for grouping</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">Yes</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used for ordering</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">No</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e33 ">Used to enforce unique Referential Integrity constraints</td>
|
||
|
<td valign="top" headers="d0e34 ">Yes</td>
|
||
|
<td valign="top" headers="d0e36 ">No</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="efindex.htm" title="DB2 Universal Database for iSeries provides two basic means for accessing tables: a table scan and an index-based retrieval. Index-based retrieval is typically more efficient than table scan when less than 20% of the table rows are selected.">Creating an index strategy</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></body>
|
||
|
</html>
|