Improving performance for index builds
You can improve performance for index builds by adjusting the PDQ priority and by allocating enough memory and temporary space for the entire index.
Whenever possible, the database server uses parallel processing to improve the response time of index builds. The number of parallel processes is based on the number of fragments in the index and the value of the PSORT_NPROCS environment variable. The database server builds the index with parallel processing even when the value of PDQ priority is 0.
You can often improve the performance of an index build by taking the following steps: