NID Utility in Oracle – RENAME DATABASE

Oracle

DBNEWID (NID) utility was introduced in Oracle 10g, Which can change the database identifier (DBID) and the database name (DBNAME).

NID utility allows us to change

  • Only DBID
  • Only DBNAME
  • Both DBNAME and DBID of a database

Before performing below changes, Database should be in MOUNT status.

SHUTDOWN IMMEDIATE
STARTUP MOUNT

DBID Only:

nid TARGET=sys/[email protected]

DBNAME Only:

nid TARGET=sys/[email protected] DBNAME=TEST SETNAME=YES

BOTH DBNAME and DATABASE:

nid TARGET=sys/[email protected] DBNAME=TEST

Leave a Reply

Your email address will not be published. Required fields are marked *