How to rename/move a datafile in the same ASM diskgroup
(Doc ID 564993.1)
Last updated on JANUARY 01, 2023
Applies to:Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 188.8.131.52 [Release 10.1 to 12.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Generic (Platform Independent)
ASM files can be renamed like any other files in a standard filesystem. For ASM, rename is peformed through some type of statements (ADD ALIAS, RENAME ALIAS, ADD DIRECTORY) to manipulate filenames, alias, and directories.
Renaming datafiles is sometimes needed when database file names still contains old database name after a database on ASM is renamed (for example with nid). Then, it is required to change ASM datafile names accordingly with new database name. RMAN backup copy doesn't work in this case as file still remains in the same diskgroup.
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