Shrink Segment in Two Phase take Longer Time.
Last updated on DECEMBER 06, 2016
Applies to:Oracle Database - Standard Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
***Checked for relevance on 20-Sep-2016***
The online segment shrink can be done by executing ALTER TABLE.. SHRINK SPACE. Again, this can be accomplished in two **shorter** steps rather than one long step by specifying:
1) ALTER TABLE ... SHRINK SPACE COMPACT statement
2) then ALTER TABLE ... SHRINK SPACE statement
Inhouse test case shows that 'shrink space' (in one step) is always less than the total elapsed time for ('shrink space compact' + 'shrink space').
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms