Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Error when renaming tempfile

Re: Error when renaming tempfile

From: Thomas Hesse <thomas.hesse_at_team.xtra.co.nz>
Date: Tue, 12 Mar 2002 10:57:09 +1300
Message-ID: <3C8D2835.307AC691@team.xtra.co.nz>


You cannot rename (move) a temporary file from a locally-managed tablespace.
You have to drop the tablespace and create a new one.

bdick wrote:
>
> Oracle 8.1.7
> Windows2K
>
> I am moving my database files to different disk drives and everything is
> fine for the datafiles and logfiles. But when I try to rename a tempfile I
> get an error. I double checked the spelling and the file exists in both the
> old and new location. What else could be wrong?
>
> alter database rename file 'C:\DISK1\TS_TEMP.DBF' to 'C:\DISK0\TS_TEMP.DBF'
> *
> ERROR at line 1:
> ORA-01511: error in renaming log/data files
> ORA-01516: nonexistent log file, datafile or tempfile 'C:\DISK1\TS_TEMP.DBF'
>
> --
> Later,
> BEDick
Received on Mon Mar 11 2002 - 15:57:09 CST

Original text of this message

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