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: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Thu, 11 Apr 2002 14:38:38 -0800
Message-ID: <F001.00442A01.20020411143838@fatcity.com>


Rich,

Interesting one, but the order of files in the CCF really does NOT matter. As far as I could observe, Oracle is able to determine the file number from the datafile header and arrange itself. I regularly clone a 125Gb/205 file (and growing) Apps Database from one server to another and wildly run around for re-locating files in different directories as they grow. I create the CCF from a 'ls -1 /u*/oradata/<SID>/*' appended to a previous part of an older CCF. This captures any new files into the CCF in the _right_ location without me having to create a new ccf by hand every time. A subsequent backup controlfile shows that actual order as it should have been, not necessarily the order in which the previous ccf was created.

John Kanagaraj
Oracle Applications DBA
DBSoft Inc
(W): 408-970-7002

Grace - Getting something we don't deserve Mercy - NOT getting something we deserve

Click on 'http://www.needhim.org' for Grace and Mercy that is freely available!

> -----Original Message-----
> From: Hand, Michael T [mailto:HANDM_at_polaroid.com]
> Sent: Thursday, April 11, 2002 1:54 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Is DATAFILE order important in CREATE CONTROLFILE?
>
>
> Rich,
>
> I believe the datafile order in a CREATE CONTROLFILE
> statement is critical,
> from lowest FILE# to highest. I'd be reluctant to prove
> myself wrong by
> testing our database copy process (I used sed to map the
> datafiles.), but we
> are moving 500-600Gb databases around and rerunning it would
> require another
> 25hr window ;)
>
> -----Original Message-----
> Sent: Thursday, April 11, 2002 3:13 PM
> To: Multiple recipients of list 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: Hand, Michael T
> INET: HANDM_at_polaroid.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: John Kanagaraj
  INET: john.kanagaraj_at_hds.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 Thu Apr 11 2002 - 17:38:38 CDT

Original text of this message

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