Tuning of an index should be done when any of the following conditions exist:
One way to tune an index is to rebuild it: for a non-SQL defined database, use MAINTAIN INDEX, for an SQL-defined database, drop the index and recreate it.
An alternative way of index tuning is to use the TUNE INDEX utility statement. TUNE INDEX compares to rebuilding the index as follows:
|
|
TUNE INDEX |
Rebuild Index |
|---|---|---|
|
Operating mode and area availability to applications |
Local mode: offline CV and batch-CV: online |
Local mode: offline |
|
Specialized DMCL/schema needed |
No |
Yes |
|
Attributes that can change |
INDEX BLOCK CONTAINS and PAGE RESERVE |
All |
You can run the TUNE INDEX command to do the following:
Run TUNE INDEX online or in batch through central version mode if the affected area or areas must remain online while the index is tuned.
|
Copyright © 2014 CA.
All rights reserved.
|
|