Restrictions on Hash Indexes
The following restrictions apply to all hash indexes.
Each multicolumn NUSI that specifies an ORDER BY clause counts as 2 consecutive indexes in this calculation.
These 32 indexes can be any combination of secondary, hash, and join indexes, including the system‑defined secondary indexes used to implement PRIMARY KEY and UNIQUE constraints.
You cannot define hash indexes for global temporary trace tables, for NoPI tables, or for column‑partitioned tables. See “NoPI Tables, Column‑Partitioned NoPI Tables, and Column-Partitioned NoPI Join Indexes” on page 230), “CREATE GLOBAL TEMPORARY TRACE TABLE,” “CREATE HASH INDEX,” and “CREATE TABLE” in SQL Data Definition Language Detailed Topics.