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[2]: What is the point to use "alter database rename file"

Re[2]: What is the point to use "alter database rename file"

From: <dgoulet_at_vicr.com>
Date: Tue, 09 Jul 2002 07:43:32 -0800
Message-ID: <F001.00492553.20020709074332@fatcity.com>


Jalil,

    You can use the alter command at the mount state at which point you have not opened any datafiles, other than the control files.

Dick Goulet

____________________Reply Separator____________________
Author: Jalil Zabourdine <jalilza_at_yahoo.com>
Date:       7/9/2002 6:38 AM


 

Well, I have recieved a server and found some datafiles are reside in System tablespace - in this case to move those datafile we can not put system tablespace offline therefore can not use alter command...
Regards,
-Jalil
  Rachel Carmichael <wisernet100_at_yahoo.com> wrote: well, I can think of one off the top of my head -- your way the
database has to be shutdown.

using alter database rename file you can just take the tablespace that owns that datafile offline and do the work. All users who don't need that particular tablespace are not affected.


Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free http://sbc.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).


---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access
<P> <BR>Well, I have recieved a server and found some datafiles <BR>are reside
in System tablespace - in this case to move <BR>those datafile we can not put
system tablespace offline<BR>therefore can not use alter command...
<P>Regards,<BR>-Jalil
<P>&nbsp; <B><I>Rachel Carmichael &lt;wisernet100_at_yahoo.com&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px
solid">well, I can think of one off the top of my head -- your way
the<BR>database has to be shutdown.<BR><BR>using alter database rename file you
can just take the tablespace that<BR>owns that datafile offline and do the work.
All users who don't need<BR>that particular tablespace are not
affected.<BR><BR><BR>--- Jalil Zabourdine <JALILZA_at_YAHOO.COM>wrote:<BR>&gt;
<BR>&gt; Hi list,<BR>&gt; What is the point to use "alter database rename
file"<BR>&gt; command to move datafile? as we will need to update <BR>&gt;
controle file anyway. So why not do the following directly <BR>&gt; to move
datafile:<BR>&gt; - alter database backup contrlfile to trace and modify
<BR>&gt; the location of datafile.<BR>&gt; - startup nomount and run the script
inorder to update <BR>&gt; the controlfile. It works fine...<BR>&gt; <BR>&gt; So
what is the point of "alter database rename file" command?<BR>&gt; <BR>&gt;
Thanks!
 i!
!
n advance.<BR>&gt; Regards,<BR>&gt; -Jalil<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;
---------------------------------<BR>&gt; Do You Yahoo!?<BR>&gt; New! SBC Yahoo!
Dial - 1st Month Free &amp; unlimited
access<BR><BR><BR>__________________________________________________<BR>Do You
Yahoo!?<BR>Sign up for SBC Yahoo! Dial - First Month
Free<BR>http://sbc.yahoo.com<BR>-- <BR>Please see the official ORACLE-L FAQ:
http://www.orafaq.com<BR>-- <BR>Author: Rachel Carmichael<BR>INET:
wisernet100_at_yahoo.com<BR><BR>Fat City Network Services -- (858) 538-5051 FAX:
(858) 538-5051<BR>San Diego, California -- Public Internet access / Mailing
Lists<BR>--------------------------------------------------------------------<BR
>To REMOVE yourself from this mailing list, send an E-Mail message<BR>to:
ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<BR>the message
BODY, include a line containing: UNSUB ORACLE-L<BR>(or the name of mailing list
you want to be removed from). You may<BR>also sen!
d !
!
the HELP command for other information (like
subscribing).</BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
New! <a
href="http://pa.yahoo.com/*http://rd.yahoo.com/sbcyahoo/consumer/evt=640/*http:/
/sbc.yahoo.com" target="_blank">SBC Yahoo! Dial</a> - 1st Month Free &amp;
unlimited access
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: dgoulet_at_vicr.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 Jul 09 2002 - 10:43:32 CDT

Original text of this message

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