Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re[2]: What is the point to use "alter database rename file"
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.
-- 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> <B><I>Rachel Carmichael <wisernet100_at_yahoo.com></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>> <BR>> Hi list,<BR>> What is the point to use "alter database rename file"<BR>> command to move datafile? as we will need to update <BR>> controle file anyway. So why not do the following directly <BR>> to move datafile:<BR>> - alter database backup contrlfile to trace and modify <BR>> the location of datafile.<BR>> - startup nomount and run the script inorder to update <BR>> the controlfile. It works fine...<BR>> <BR>> So what is the point of "alter database rename file" command?<BR>> <BR>> Thanks! i! ! n advance.<BR>> Regards,<BR>> -Jalil<BR>> <BR>> <BR>> <BR>> ---------------------------------<BR>> Do You Yahoo!?<BR>> New! SBC Yahoo! Dial - 1st Month Free & 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 & 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
![]() |
![]() |