Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Is DATAFILE order important in CREATE CONTROLFILE?

Re: Is DATAFILE order important in CREATE CONTROLFILE?

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Thu, 11 Apr 2002 13:33:38 -0800
Message-ID: <F001.004427C8.20020411133338@fatcity.com>


Rick,
 I believe the order of the datafiles in the BACKUP CONTROLFILE TO TRACE comes from the file# in V$DBFILE. If you select from v$dbfile there is no guarantee the list will be in order of the file# and the file# is not the order in which the datafiles were created. Ron
ROR mª¿ªm

>>> Rick_Cale_at_teamhealth.com 04/11/02 04:03PM >>>

Order of files in alter system backup... does not matter. Wow using Perl
to do this when then procedure is documented a 1000 times over. I am sure
you have some very good reason. Automating something that I would think is
not very frequent may be overkill. Oh well enjoy.

Rick

                                                                       
                                             
                    "Jesse, Rich"                                      
                                             
                    <Rich.Jesse_at_qti        To:     Multiple recipients
of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    world.com>             cc:                         
                                             
                    Sent by:               Subject:     Is DATAFILE
order important in CREATE CONTROLFILE?           
                    root_at_fatcity.co                                    
                                             
                    m                                                  
                                             
                                                                       
                                             
                                                                       
                                             
                    04/11/2002                                         
                                             
                    03:13 PM                                           
                                             
                    Please respond                                     
                                             
                    to ORACLE-L                                        
                                             
                                                                       
                                             
                                                                       
                                             




I'm writing a Perl script to automate the procedure to create a copy of an
8.1.7 production DB to a development server. Both production and dev are
HP/UX 11.0.

In doing this, I've created a file that cross-references where the production datafiles are and where they are to be placed in dev. This works
fine, but I also wanted to dynamically create the CREATE CONTROLFILE statement for the "new" dev DB.

I've noticed that the DATAFILE clause does not have the SYSTEM tablespace's
datafile first, nor are any of the other datafiles in the same order that
they are in production (e.g. from the output of an ALTER SYSTEM BACKUP CONTROLFILE TO TRACE). Does this matter? Does the order need to be preserved?

I suppose I'll end up dynamically creating the cross-reference file, which
would preserve the order, but now I'm curious.

TIA!

Rich Jesse                           System/Database Administrator
Rich.Jesse_at_qtiworld.com              Quad/Tech International, Sussex,
WI
USA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author: Jesse, Rich
  INET: Rich.Jesse_at_qtiworld.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 wan
t 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: 
  INET: Rick_Cale_at_teamhealth.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

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 Thu Apr 11 2002 - 16:33:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US