Hi,
I have a table with around 2million records (approx 10GB table size) when I perform the following alter statement its running fast
ALTER TABLE tbl_1 ADD (col_4 NUMBER DEFAULT 100 NOT NULL);
but when I dont give the NOT NULL in the alter statment its taking very long time to complete that i.e ALTER TABLE tbl_1 ADD (col_4 NUMBER DEFAULT 100); after which I make the column as NOT NULL.
Can some one explain why is it happening like this with respect to the point of performance.
Thanks in advance.