Hi,
I'm reading :Data GuardConcepts and Administration
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/sbydb/data-guard-concepts-and-administration.pdf
In which I see:
For example, perform the following steps tochange the database with DB_UNIQUE_NAME of BOSTON_A to BOSTON_B:
1.In the initialization parameter file or SQL, change the DB_UNIQUE_NAMEinitialization parameter from BOSTON_A to BOSTON_B.
2.In RMAN, connect to any database in the Oracle Data Guard environment astarget database and connect to the recovery catalog. Then execute the CHANGEcommand:CHANGE DB_UNIQUE_NAME FROM BOSTON_A TO BOSTON_B;
My qustions:
-How to change it using SQL? Alter system set DB_UNIQUE_NAME=BOSTON_B ?
-After changing parameter in initialization parameter file should we restart databse?
Thanks.