Enabling parallel processing for column-organized tables
Certain operations on column-organized tables such as access and query processing, require enabling of intraquery parallelism and intrapartition parallelism.
Before you begin
- You must have the proper authorization to configure instances and databases.
About this task
The processing of queries against column-organized tables require
that intraquery parallelism be enabled for the application that is compiling and executing the
query. The following statement types also require intraquery parallelism:
- All DML operations that reference column-organized tables
- The ALTER TABLE ADD UNIQUE / PRIMARY KEY CONSTRAINT statement against a column-organized table if rows were inserted into the table
- The RUNSTATS command against a column-organized table
- The LOAD command against a column-organized table
Access to column-organized tables also require intrapartition parallelism. Setting DB2_WORKLOAD to ANALYTICS implicitly enables intrapartition parallelism for workload objects that are created with MAXIMUM DEGREE set to DEFAULT, and is recommended when you use column-organized tables. If this registry variable is not set, or is set to another value, you must explicitly enable intrapartition parallelism before you access column-organized.
Procedure
To enable parallel processing for column-organized tables: