ORA-01511 ORA-01516 Renaming Datafile
(Doc ID 105279.1)
Last updated on NOVEMBER 08, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 7.3.0.0 to 11.2.0.3 [Release 7.3.0 to 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
You are trying to rename or move a datafile using:
SQL> ALTER DATABASE RENAME FILE '<OldPathAndName>' TO '<NewPathAndName>';
but you receive an ORA-01511 and ORA-01516 error.
ORA-01511: error in renaming log/data files
Cause: During ALTER DATABASE, an error occurred while renaming
log or data files.
Action: Check the error stack for detailed error information.
ORA-01516: nonexistent log/data file '%s'
Cause: ALTER DATABASE is attempting to rename/create a log or a data
file which is not known to the database control file.
Action: Specify the name of an existing log file.
Changes
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! |