The following is a partial example of syntax used to define a partitioning index within the create index statement:
(PART 1 VALUES(’H99’),
PART 2 VALUES(’P99’),
PART 3 VALUES(’Z99’),
PART 4 VALUES(’999’))
The above syntax defines the highest key value that is contained in each partition.
If you have a query that is accessing a small amount of data via an index, or all the qualifying rows are in the same partition, then you will not benefit from parallelism with DB2 for OS/390 partitioned tablespaces.
Conversely, if you are retrieving a lot of rows across all the partitions, then DB2 can use parallelism (one process per partition) to speed up the query.