I think, I need to answer this original post( late, 
because our time zone is different ;-))
        I was doing this in the test environment ( which I 
mentioned in my original post too) with total database 
size of 250 Mb. To make the testing easier I had adopted 
some random method. At that point of time I didn't care 
whether I choose method 1 or method 2 ( described below).
My motive was to design and document a full proof method for 
recovery from Hotbackup in case of any kind of failure. 
Somehow I was missing the clue in one of the test cases and 
I posted the query describing my original steps honestly....
        BTW I am aware of consequences of putting all the TS 
( of Production environment) in backup mode in one stretch 
for hot backup purpose.  Any-way, I thank everybody for 
contributing. 

Thanks again everybody,
Rajesh 

-----Original Message-----
Sent: Tuesday, October 02, 2001 3:15 PM
To: Multiple recipients of list ORACLE-L


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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rajesh Dayal
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to