A few years ago, IBM Research came-up with a new type of index called an Encoded Vector Index (EVI). The main benefits of using EVIs is that they takes less space than a traditional index and they are noticeably faster for certain types of queries.
An encoded vector index provides access to a database table by assigning codes to distinct key values and then representing these values in an array. The elements of the array can be 1, 2, or 4 bytes in length, depending on the number of distinct values that must be represented. Because of their compact size and relative simplicity, encoded vector indexes provide for faster scans that can be more easily processed in parallel.
You create encoded vector indexes by using the CREATE ENCODED VECTOR INDEX statement. See What are encoded vector indexes for information on the use and maintenance of encoded vector indexes. For additional information about accelerating your queries with encoded vector indexes , go to the DB2 Universal Database for iSeries web pages.
Saturday, March 26, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Recover or reset QSECOFR passwords
- AS400 Job Scheduler
- List Job (QUSLJOB) API
- UDATE and *DATE in AS400 RPG
- Using QCLRDTAQ to clear data queues in CL and RPG
- What is LANSA
- IBM System i APIs at Work
- as400 api - Process Commands (QCAPCMD) API
- What is RPGsp (RPG Smart Pages)
- Slow Running Batch Jobs on as400 Iseries
No comments:
Post a Comment