HI Brent,
( I had to move my post to a different place) .
To answer to your advise I still have same issues in ASE 15.7 SP103 , the consumers options is been ignored and the DDL runs in serial mode, see more details bellow, please:
>create index idx1_file on mfs_files( archiveID, file_id ) with consumers=10, online
QUERY PLAN FOR STATEMENT 1 (at line 1).
STEP 1
The type of query is CREATE INDEX.
TO TABLE
mfs_files
Using I/O Size 2 Kbytes for data pages.
(return status = 0)
[
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------
Adaptive Server Enterprise/15.7/EBF 21776 SMP SP103 /P/x86_64/Enterprise Linux/ase157sp101/3449/64-bit/FBO/Thu Sep 19 06:21:33 2013
ASE15.5 and ASE 15.7 index parallelism not been used
created by Bret Halford in SAP Applications on SAP Adaptive Server Enterprise (SAP ASE) -
You can avoid locking the entire table during index creation by upgrading to 15.7 SP100 or higher and using the new "with online" option. See: create index
15.7 SP100 also introduces a new configuration parameter "max utility parallel degree", which can also be the reason worker processes aren't used in 15.7 SP100 and higher.
Is it possible any of the 10 partitions is currently empty?
-bret