One other point, when recreating the control file you many times have to do a resetlogs at the end which invalidates all of your previous backups. I for one hate to loose any avenue to a recovery if needed. Actually I hate anything that forces me to rebuild the control file(s), you can loose too much history that way. Now I will admit it would be one great enhancement to the command if the kernel would then move the datafile for you. Of course it would be good if drop tablespace also cleaned up after itself, but then that's a 9i feature, only if you have a storage vendor who supports Oracle's OMF API.
Dick Goulet ____________________Reply Separator____________________ Author: Rachel Carmichael <[EMAIL PROTECTED]> Date: 7/9/2002 5:58 AM 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. --- Jalil Zabourdine <[EMAIL PROTECTED]> wrote: > > 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. > Regards, > -Jalil > > > > --------------------------------- > Do You Yahoo!? > New! SBC Yahoo! Dial - 1st Month Free & unlimited access __________________________________________________ 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
