Database Administration (MOSC)

MOSC Banner

Table shrink taking long time

edited Nov 24, 2013 11:02PM in Database Administration (MOSC) 6 commentsAnswered
Hi,

DB-11.2.0.3. I was shrinking a fragmented table of 80 GB. It took 18 hrs, adding up both phases of shrink.

Why does the second phase taking such a long time when it has to adjust High watermark. The table is not busy either.


alter table application enable row movement;
Table altered.
Elapsed: 00:00:00.02

First phase
-----------
alter table application shrink space compact;
Table altered.
Elapsed: 09:38:30.04


Second phase
------------
alter table application shrink space;
Table altered.
Elapsed: 09:47:44.99



Regards
Raj

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center