Oracle Logbook

June 11, 2012

Best way to add not null columns at a million rows table

Filed under: Uncategorized — heliodias @ 10:12 pm

I saw this question today at OTN:

Massive updates of new columns on tables

DBMS_REDEFINITION is usually the best way to go,

You will benefit from direct path technology, plus having a controlled operation, avoiding all that worries about disable triggers, FK, Indexes, and so on.

 

 

 

Advertisements

Blog at WordPress.com.