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 SQL CREATE INDEX
statement. For more information about
accelerating your queries with encoded vector indexes
, go to the DB2 UDB for AS/400 web pages.