dbaascli pdb resize

The pdb resize subcommand of the dbaascli utility modifies the size limits for a pluggable database (PDB).

Connect to a compute node as the oracle user and execute this command.

$ dbaascli pdb resize --pdbname pdbname --dbname dbname [--maxsize maxsize] [--maxcpu maxcpu]

In the above command:

  • pdbname — specifies the name of the PDB that you want to modify.

  • dbname — specifies the name of the container database that hosts the PDB.

  • maxsize — optionally specifies the maximum total size of data files and temporary files for tablespaces belonging to the PDB. Setting this option is effectively the same as setting the MAXSIZE PDB storage clause in the ALTER PLUGGABLE DATABASE SQL command. You can impose a new limit by specifying an integer followed by a size unit (K, M, G, or T), or you can specify UNLIMITED to remove a previous limit.

  • maxcpu — optionally specifies the maximum number of CPUs that are available to the PDB. Setting this option is effectively the same as modifying the CPU_COUNT parameter in the PDB.

When you run the command you must specify at least one of optional attributes, --maxsize or --maxcpu. You can specify both optional attributes in a single command.

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.