Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Rename Datafile
Why not to make tablespace offline, rename datafile in oracle and them use unix mv command to move it? Copy is not good ig there is no space.
Alex Hillman
-----Original Message-----
Sent: Monday, May 07, 2001 11:16 AM
To: Multiple recipients of list ORACLE-L
Mitchell wrote:
> 1. shutdown database (normal or immediate)
> 2. cp /oldlocation/datafile1 /newlocation/newdatafilename or
> mv /oldlocation/datafile1 /oldlocation/newdatafilename
nope don't use mv. the database needs to see the old datafile until you rename it. so use cp and then after the rename, rm the old file.
-- Bill Thater Certifiable ORACLE DBA Telergy, Inc thaterw_at_telergy.net ---------------------------------------------------------------- You gotta program like you don't need the money, You gotta compile like you'll never get hurt, You gotta run like there's nobody watching, It's gotta come from the heart if you want it to work! ---------------------------------------------------------------- -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Thater, William INET: ThaterW_at_telergy.net 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: Hillman, Alex INET: Alex.Hillman_at_usmint.treas.gov 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 Mon May 07 2001 - 11:07:16 CDT
![]() |
![]() |