Indexing over XML data is subject to restrictions, including data type support restrictions, concurrency level restrictions, XML list elements restrictions, and index compression restrictions.
Command | Concurrency level | Supported |
---|---|---|
REORG INDEXES ALL FOR TABLE | Concurrent read and write access to the table | Yes. |
REORG TABLE | Command clause: ALLOW [READ | NO] ACCESS | Yes. An index over XML data might exist. |
REORG TABLE INPLACE (at least one index over XML data exists on the table) | Command clause: ALLOW [READ | WRITE] ACCESS | No. |
Command | Concurrency level | Supported |
---|---|---|
REORG INDEX (on a nonpartitioned index over XML data) | Concurrent read and write access to the table | Yes. |
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW NO ACCESS or ALLOW [READ | WRITE] CLEANUP ONLY | Yes. |
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW [READ | WRITE] ACCESS | No. |
REORG TABLE | Command clause: ALLOW NO ACCESS (for a partitioned table, the only supported access is ALLOW NO ACCESS) | Yes. |
REORG TABLE INPLACE | Command clause: ALLOW [NO | READ | WRITE] ACCESS | No. For a partitioned table, the INPLACE parameter is not supported. |
Command | Concurrency level | Supported |
---|---|---|
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW NO ACCESS | Yes. |
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW [READ | WRITE] ACCESS CLEANUP ONLY | Yes. |
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW [READ | WRITE] ACCESS 1 | Yes. |
REORG INDEXES ALL FOR TABLE | Command clause: ALLOW [READ | WRITE] ACCESS | No. |
REORG TABLE | Command clause: ALLOW NO ACCESS (for a data partitioned table, the only supported access is ALLOW NO ACCESS) | Yes. |
REORG TABLE INPLACE | Command clause: ALLOW [NO | READ | WRITE] ACCESS | No. For a data partitioned table, the INPLACE parameter is not supported. |
See the CREATE INDEX statement and REORG INDEX/TABLE command for information about the clauses and options.
For multidimensional clustering (MDC) tables, online index reorganization with ALLOW WRITE ACCESS is not supported.
For a partitioned table, a unique partitioned index over XML data is not supported. If you try to create such index, you will receive error message SQL20303N (SQLSTATE=42990).
Creating indexes on XML columns is also subject to restrictions placed on the native XML data store overall.