Hi List,
I need to create nonclustered index on partition table(10 partitions) witth > 900 mill rows, the optimiezer will not use the parallelism mode in ASE15.5 and 15.7 , takes > 6 hours to have this index build in production.
Why the optimizer chooses serial mode ptr index creation? How can I force parallelism in this ASE versions, seems it's known bug...
How can I monitor how far the index creation ?
How can avoid to lock the whole table during index DDL ?
Adaptive Server Enterprise/15.5/EBF 19399 SMP ESD#5/P/x86_64/Enterprise Linux/asear155/2568/64-bit/FBO/Fri Dec 9 02:45:22 2011
Parameter Name | Default | Memory Used Config Value | Run Value | Unit | Type |
------------------------------ -------------------- ----------- -------------------- -------------------- -------------------- ----------
enable deferred parallel | 0 | 0 | 1 | 1 | switch | dynamic |
max parallel degree | 1 | 0 | 28 | 28 | number | dynamic |
max query parallel degree | 1 | 0 | 1 | 1 | number | dynamic |
max scan parallel degree | 1 | 0 | 3 | 3 | number | dynamic |
min pages for parallel scan | 200 | 0 | 200 | 200 | logical pages | dynamic |
create index idx1 file on tab1( archiveID, file_id ) with consumers=10
QUERY PLAN FOR STATEMENT 1 (at line 1).
STEP 1
The type of query is CREATE INDEX.
TO TABLE
tab1
Using I/O Size 2 Kbytes for data pages.