well 1 is simpler to code. :)
However, if you put all tablespaces in backup mode at once, you will be
generating a LOT of extra redo and archived logs.
That's because even if you are not currently backinf up that tablespace
(say you already HAVE backed it up), you will still have to write full
blocks to the redo log for that tablespace. So it's extra strain on the
system
- Guy Hammond <guy.hammond_at_avt.co.uk> wrote:
> Hello,
>
> Slightly unrelated question... is it better to (in pseudo code) :
>
> 1)
>
> for each tablespace loop
> put tablespace in backup mode
> end loop
>
> for each datafile in the database loop
> copy data file
> end loop
>
> for each tablespace loop
> put tablespace in normal mode
> end loop
>
>
> or 2)
>
> for each tablespace loop
> put tablespace in backup mode
> for each datafile in this tablespace loop
> copy data file
> end loop
> put tablespace in normal mode
> end loop
>
>
> What I'm doing is (2), but I notice that Rajesh is doing (1). What
> are
> the pros and cons of each approach? (I'll probably use RMAN at some
> point, anyway :0) ).
>
> Cheers,
>
> g
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Guy Hammond
> INET: guy.hammond_at_avt.co.uk
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: wisernet100_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Tue Oct 02 2001 - 08:21:59 CDT