Database Administration (MOSC)

MOSC Banner

adding a column on 15G table with not null and default 0 is very slow.

edited Nov 21, 2013 1:14PM in Database Administration (MOSC) 9 commentsAnswered
I have a table X and running following command to add column
ALTER TABLE X ADD ( col_new  NUMBER(1,0) DEFAULT 0 NOT NULL) ; because of the size this is very very slow.

I tried couple of options one of the below but does not help.

Any help appreciated.

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