Rename database and then move datafile online in 12.2
Last updated on MAY 12, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 12.2]
Information in this document applies to any platform.
This note illustrates how to rename a database in 12.2 and then move the datafiles to another location online (given the DB name is changed, we expect the datafile are moved to another directory whose directory name is the new DB name). This is for education purpose only, in case you want to do this in production system, do verify the steps in testing env first.
For more details of renaming database via nid, please refer to <note 863800.1> - How to Change the DBID, DBNAME Using NID Utility, for more details of moving datafile online, please refer to <note 1566797.1> - 12C New Feature : Move a Datafile Online.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms