Quote:
Originally Posted by ekar
What about simply direct SQL session to not use logging
...
That should avoid logging for the table creation.
I can hear Support saying - "Be careful when using it as it is not recommended."
|
And with good reason. If you use "set nologging", even for something as simple as this, you cannot rollforward a journalled database.
If you do feel the need to use a nologging query, the only sensible way to do it is to take a checkpoint immediately before issuing the command, run the nologging session, and then take another checkpoint. Otherwise you can't recover from journals.
(Note, you can use the #f flag on the rollforwarddb, but obviously any updates made to the table created with nologging cannot be processed, as the table won't exist. Your database will be marked inconsistent)
Much safer to use "with nojournaling" when creating the table.