Rename database and then move datafile online in 12.2 (Doc ID 2258871.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Information in this document applies to any platform.

Goal

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.

 

Solution

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