My Oracle Support Banner

Moving A Tempfile Online giving error ORA-01516: Nonexistent Log File, Data File, (Doc ID 2506456.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.0.1 version, RDBMS

Moving a temp datafile ONLINE using below command :

SQL> ALTER DATABASE MOVE DATAFILE 'D:\LOCATION\temp01.dbf' TO 'F:\LOCATION\temp01.dbf';

 

Got below error :
ALTER DATABASE MOVE DATAFILE 'D:\LOCATION\temp01.dbf' TO ''F:\LOCATION\temp01.dbf'
*
ERROR at line 1:
ORA-01516: nonexistent log file, data file, or temporary file
"D:\LOCATION\temp01.dbf" in the current container



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.