REMOVE PLUGGABLE DATABASE

This command stops recovery at a target PDB and then drops the target PDB. Dropping the target PDB ends data protection for the source PDB in a DG PDB environment.

Format

REMOVE PLUGGABLE DATABASE pdb-name AT database-name;

Parameters

Parameter Description
pdb-name Name of the target PDB that must be removed from target database.
database-name Name of the target database that contains the specified target PDB.

Usage Notes

  • The specified target PDB must have been configured using the ADD PLUGGABLE DATABASE command.

Examples

Example 10-8

This example removes the target PDB named dgpdb_sales from the target database cdb_newyork. This stops the recovery process at the target PDB and removes it from the target database.

DGMGRL> REMOVE PLUGGABLE DATABASE dgpdb_sales AT cdb_newyork;
Removed.