Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: What is the point to use "alter database rename file" command?

Re: What is the point to use "alter database rename file" command?

From: Yechiel Adar <>
Date: Wed, 10 Jul 2002 05:28:25 -0800
Message-ID: <>

The same point of buying a family car to go to work even if you can not do cross country races in it.

The fact that you can not do something does not invalidate the other cases where it is valid.

Yechiel Adar

  Thanks to all who replied...

  I ve solved my problem yesterday but still... by shutdown database.My question was how to move datafiles which are created by default   in $ORACLE_HOME/dbs directory and when they are in SYSTEM tablespace. On 24*7*356 database it is NOT POSSIBLE to move datafiles (in SYSTEM tbs) on ONLINE database because we can not put SYSTEM tablespace offline!!!!but it is possible for other tablespace!!! So what is the point of having ALTER DATABASE RENAME FILE command if we can not rename datafiles which are reside in the system tablespace???


    Tim Gorman <> wrote:

    If you don't mind SHUTDOWN and then STARTUP NOMOUNT in order to run CREATE CONTROLFILE, then the methods are pretty much equivalent. Often, though, uptime requirements don't permit that luxury...      

    If you are using RMAN with NOCATALOG, then CREATE CONTROLFILE can destroy some valuable information also...

      Isn't alter-way at least easier? that's enough.
      and you can do it online.
      and you would not mess up with control files.
      and much faster
      and... nothing more I can think of right now...
        ----- Original Message ----- 
        From: Jalil Zabourdine 
        To: Multiple recipients of list ORACLE-L 
        Sent: Tuesday, July 09, 2002 2:48 PM
        Subject: What is the point to use "alter database rename file" command?

        Hi list,
        What is the point to use "alter database rename file"
        command to move datafile? as we will need to update 
        controle file anyway. So why not do the following directly 
        to move datafile:
         - alter database backup contrlfile to trace and modify 
        the location of datafile.
         - startup nomount and run the script inorder to update 
        the controlfile. It works fine...

        So what is the point of "alter database rename file" command?

        Thanks in advance.

        Do You Yahoo!?
        New! SBC Yahoo! Dial - 1st Month Free & unlimited access

  Do You Yahoo!?
  Sign-up for Video Highlights of 2002 FIFA World Cup


Please see the official ORACLE-L FAQ:

Author: Yechiel Adar

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: (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 Wed Jul 10 2002 - 08:28:25 CDT

Original text of this message