Shrink Segment in Two Phase take Longer Time.
(Doc ID 1614117.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Standard Edition - Version 22.214.171.124 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').
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document