Shrink Segment in Two Phase take Longer Time.
(Doc ID 1614117.1)
Last updated on FEBRUARY 24, 2019
Applies to:Oracle Database - Standard Edition - Version 126.96.36.199 and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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