dbaascli pdb rename
The pdb rename
subcommand of the dbaascli
utility renames a pluggable database (PDB) in your Exadata Cloud Service environment.
Connect to a compute node as the oracle
user and execute this command.
$ dbaascli pdb rename --pdbname oldname --newname newname --dbname dbname
In the above command:
-
oldname
— specifies the old name of the PDB that you want to rename. -
newname
— specifies the new name of the PDB that you want to rename. -
dbname
— specifies the name of the container database that hosts the PDB.
This command is supported only for databases that are not in a Data Guard configuration and use Oracle Database version 12.2.0.1, or later.