5 Responses to Adding NOT NULL Columns with DEFAULT values – 11G

  1. Pingback: Log Buffer #395, A Carnival of the Vanities for DBAs | InsideMySQL

  2. Dom Brooks says:

    Cue long-lasting amusement / bewilderment when you return to large table and decide to change such a defaulted not null column to nullable…


    • Someone suggested to me creating a very large table only with keys, and then adding all columns as not null defaults. How fast to scan beeeeellions of records? 🙂


  3. Kevan Gelling says:

    According to Oracle Support, the bug is fixed in (see bug 9170308).


  4. Pingback: Upgrade From Slow Performance Adding Nullable Columns With Default Values To AWR Tables – DBA BRASIL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.