RMAN DUPLICATE a PDB to an existing CDB
La duplicazione di un db tipicamente serve per creare un db da testare e successivamente apportare le modifiche sul db sorgente. Può essere duplicato un intero CDB, solo il root o un PDB. In questo post duplicheremo tramite RMAN un pdb dal container CDB19L01 al container CDB19L02. Il database è una versione 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0. PREREQUISITI - Il parametro di inizializzazione COMPATIBLE sul CDB sorgente e di destinazione deve essere settato almeno a 18.0.0 SQL> show parameter COMPATIBLE NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ compatible string 19.0.0 - Il CDB sorgente e auxiliary (duplicate) devono usare “local undo” SQL> select * from database_properties where lower(property_name) ='local_undo_enabled'; PROPERTY_NAME PROPERTY_VALUE DESCRIPTION -------------- -------------- --------------------