Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Suppress writing Redo Log Data
In our last gripping episode ashish25_at_my-deja.com wrote:
> Hi Howard,
> Even I agree with you that all conventional insert,update,delete
are
> logged in the datadictionary.So if I create a table as create table as
> select unrecoverable there will be no logs generated.After that I can
> take a cold backup.All the dml statements after that will generate
redo
> logs.So if I want to recover that table I will be able to.
> Please clarify further??.I have a big table created as
> unrecoverable??
> Thanks,
> Ashish
>
The DML for that table was not logged in the redo log therefore if you rely on the redo logs to recover that table you are out of luck. If you take a cold backup of the database, or even an export of the database, you should be able to recover the table without any problems. You just can't restore it from the redo logs.
> In article <3a1161f5_at_news.iprimus.com.au>,
> "Howard J. Rogers" <howardjr_at_www.com> wrote:
> > Hi David,
> >
> > I think you may have the cart and the horse round the wrong way.
NOLOGGING
> > doesn't suppress redo for normal inserts, updates and deletes, but
only for
> > peculiar DML done under certain circumstances (eg, create table
newemp as
> > select * from oldemp, SQL*Loader in direct path and so on). Various
DDL can
> > also be suppressed (such as create indexes, and indeed, create
table).
> >
> > I only mention it because the doco for 8.1.5 states (as it has done
since at
> > least 8.0.5):
> >
> > Quote ON:::::
> > Although you can set the NOLOGGING attribute for a table, partition,
index,
> > or tablespace, no-logging mode does not apply to every operation
performed
> > on the schema object for which you set the NOLOGGING attribute. Only
the
> > following operations can make use of no-logging mode:
> >
> > direct load (SQL*Loader)
> > direct-load INSERT
> > CREATE TABLE ... AS SELECT
> > CREATE INDEX
> > ALTER TABLE ... MOVE PARTITION
> > ALTER TABLE ... SPLIT PARTITION
> > ALTER INDEX ... SPLIT PARTITION
> > ALTER INDEX ... REBUILD
> > ALTER INDEX ... REBUILD PARTITION
> > INSERT, UPDATE, and DELETE on LOBs in NOCACHE NOLOGGING mode stored
out of
> > line
> > QUOTE OFF:::::::::::::::::::::::
> >
> > Regards
> > HJR
> > --
> > --------------------------------------------------------------------
--
-- David Fitzjarrell Oracle Certified DBA Sent via Deja.com http://www.deja.com/ Before you buy.Received on Tue Nov 14 2000 - 10:34:45 CST