Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

default or NOT NULL for less overhead on insert

497150Mar 5 2007 — edited Mar 5 2007
I have a very heavy insert table - about 30,000 r/s. Currenlty, there are no constraints - not to slow the inserts. But now I need to make one field NOT NULL because of the application inserts null values that nobody expected.
I was wondering on how to measure the overhead of making the column NOT NULL.
Also, if I add a default - is this going to provide faster inserts compare to creating Not Null constraint?
Ran some tests but nothing noticeble.
Thanks a lot ,mj
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2007
Added on Mar 5 2007
6 comments
1,117 views