Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Effect of NOLOGGING tablespace on hot backup
Actually, very little happens when you set NOLOGGING, so the answer is
nearly number 3. But since they wouldn't have invented a useless keyword
(Oh, I forgot -they did. Hello PCTINCREASE).... OK, so they wouldn't
*intentionally* invent a useless keyword, so the answer is also nearly
number 2.
Plain fact of the matter is that ordinary DML *ALWAYS* logs, whatever the tablespace says. NOLOGGING is respected, however, by certain operations (such as create index, create table ... as select, and a lot of Partitioned DML). Whenever one of these operations is performed in a nologging table, it's time to backup, because they are unrecoverable by applying redo.
Incidentally, it's what nologging is set to on the *table* that counts. What the tablespace is set to is irrelevant -that's only specifiable at the tablespace level so as to provide a default setting for tables created within the tablespace. If the tablespace says nologging, and you create a table 'logging', the logging attribute is the one that is set for that table.
Regards
HJR
"Jenn" <jennifer.corliss_at_roche.com> wrote in message
news:59dd9910.0206061024.318d582c_at_posting.google.com...
> If I have a tablespace that is marked NOLOGGING and I do a hot backup,
> what do I get back when I recover?
>
> 1. Nothing
> 2. Objects as of the time of the backup with no ability to roll
> forward through the logs
> 3. Everything
> 4. something else?
>
> Thanks, Jenn
Received on Thu Jun 06 2002 - 14:41:19 CDT