Defining a Fragmentation Strategy on a Nonfragmented Table
The INIT clause can define a fragmentation strategy on a nonfragmented
table, regardless of whether the table was created with a storage
option.
CREATE TABLE balances (col1 INT, col2 INT) IN dbsp1; ALTER FRAGMENT ON TABLE balances INIT FRAGMENT BY EXPRESSION col1 <= 500 IN dbsp1, col1 > 500 AND col1 <=1000 IN dbsp2, REMAINDER IN dbsp3;
When you use the INIT clause to fragment an existing nonfragmented table, all indexes on the table become fragmented in the same way as the table.