PDB Switchover
The procedure for remotely refreshing a PDB in Oracle Database 12c was previously discussed in Creating and Refreshing a PDB Remotely . Oracle Database 18c introduced a new capability in this area that enables the roles of the source and destination PDBs to be switched, in other words, it facilitates a switchover between the two PDBs. In this article, we first create a PDB remotely and then demonstrate how to perform a switchover between the source and destination PDBs. 1. Create a User, PDB, and Database Link on the Source and Destination cdb1 (source) SQL > create pluggable database pdbsource admin user u identified by u; Pluggable database created. SQL > alter pluggable database PDBSOURCE open ; Pluggable database altered. SQL > create user db_usef identified by pass; User created. SQL > grant sysoper,dba,sysdba to db_usef container = all ; Grant succeeded. SQL > create public database link LINKclone connect to DB_USEF identified by pass ...