Database Tuning (MOSC)

MOSC Banner

How to drop/add few colums in cheap and faster way from few huge partition table

edited Nov 29, 2012 8:13PM in Database Tuning (MOSC) 6 commentsAnswered
Hi All,

  Our application support need to change few column from number (5,2) to NUMBER(10,7)  in few of the large partition table (there have more  1,000,000,000 rows on each tables).

  Just wonder any good recommendation to implement this change in efficient way. THis is very critical application and request downtime is very minimial.

  We're testing current approach in testing environment:

  #alter table tab1 set unused (col1,col2,col3)

  #alter table tab1 drop unused colums checkpoint 1000;

  #alter table tab1 add (col1 number(10,7), col2 number(10,7), col3(10,7)

  But still very slow, it took more than 10 hours and still running in step2, i can see the process still running (checking used undo segment, i can see the process is still running)

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