Upgrade to OpenEdge 12.5, 12.2.7, 11.7.11 where OCTA-37121:
- Fixed blocks used for the partition in idxanalys reports.
- Enhanced the IDXCOMPACT algorithm so that deleted blocks are more efficiently removed from the tree in a run.
IDXCOMPACT runs two phases:
First phase: idxcompact scans the index delete chain and moves these blocks to the free chain when possible.
- The degree of index compaction is not used at this phase as only the information in block header is changing,
- idxcompact creates a separate transaction for each block on the index delete chain, bi notes are small.
Second phase: idxcompact scans remaining blocks of the index tree.
- The degree of index compaction % is used in the second phase
- In one transaction to facilitate undo processing if interrupted, bi notes are larger.
The index compact mechanism itself was changed when cleaning up delete holders, so that delete holders are more efficiently cleanedup with idxcompact. This second change benefits all OE databases and their unique indexes, not just TP and global indexes.
In prior versions it may be necessary to run IDXCOMPACT more than once.