1. 程式人生 > >【跟我學oracle18c】第四天:Cloning a Remote PDB or Non-CDB

【跟我學oracle18c】第四天:Cloning a Remote PDB or Non-CDB

7.5.1 Cloning a Remote PDB Using No Clauses: Example

The following statement clones the pdb2 PDB from the pdb1 remote PDB:

CREATE PLUGGABLE DATABASE pdb2 FROM [email protected]_link;

7.5.2 Cloning a Remote Non-CDB: Example

The following statement creates the pdb2 PDB from the remote non-CDB named mydb

:

CREATE PLUGGABLE DATABASE pdb2 FROM [email protected]_link;

When the source database is a non-CDB, you can substitute NON$CDB for the name of the non-CDB. For example, the following statement is equivalent to the previous example:

CREATE PLUGGABLE DATABASE pdb2 FROM [email protected]_link;

7.5.3 Creating a Refreshable Clone: Example

The following statement clones the pdb2 PDB from the pdb1 remote PDB:

CREATE PLUGGABLE DATABASE pdb2 FROM [email protected]_link REFRESH MODE EVERY 60 MINUTES;