Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Impact on changing an enabled validated constraint to enable novalidate ?
On Apr 2, 11:14 am, zejea..._at_gmail.com wrote:
> Hello,
>
> We would like to change constraints that are enabled and validated to
> "ENABLE NOVALIDATE" state.
>
> I think that there is no problem doing that : any new line or update
> will be checked thanks to the "ENABLE" state.
> I feel that once validated there is no point in keeping the constraint
> in "VALIDATE" state. "ENABLE NOVALIDATE" is sufficient.
> VALIDATE seems only useful when we create a constraint on existing
> data.
>
> Am i right ?
> Is there a (hidden) danger changing the constraint to NOVALIDATE ?
>
> Thanks in advance
>
> Jean-Michel
Why exactly do you want to make this change?
Is there some kind of benefit to the business? Have you compared the amount of overhead for a given workload of some importance?
Typically enable novalidate is only useful when you need to accept that there are some problems with the existing data in a table but new data coming in will all have to be correct.
If all the data is "already in there" and has been validated, there is no gain at all by changing it from validate to novalidate. Received on Mon Apr 02 2007 - 10:23:59 CDT
![]() |
![]() |