My Oracle Support Banner

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 11.2.0.3 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***

Symptoms

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').

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.