0% found this document useful (0 votes)
44 views

Oracle Setup CDB PDB Commands

The document describes using the dbca command to create a new container database called cdb3 with a single pluggable database called pdb1. It specifies the memory size as 1536 MB and the redo log size as 50 MB. The command also deletes two existing databases, cdb2 and cdb3.

Uploaded by

Ankur Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Oracle Setup CDB PDB Commands

The document describes using the dbca command to create a new container database called cdb3 with a single pluggable database called pdb1. It specifies the memory size as 1536 MB and the redo log size as 50 MB. The command also deletes two existing databases, cdb2 and cdb3.

Uploaded by

Ankur Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

The Following creates a new container database (cdb3) with a single pluggable database

(pdb1). The memory and redo log sizes are specified in megabytes.

dbca -silent -createDatabase \


> -templateName General_Purpose.dbc \
> -gdbname cdb3 -sid cdb3 -responseFile NO_VALUE \
> -characterSet AL32UTF8 \
> -sysPassword iso*help \
> -systemPassword iso*help \
> -createAsContainerDatabase true \
> -numberOfPDBs 1 \
> -pdbName pdb3 \
> -pdbAdminPassword OraPasswd1 \
> -databaseType MULTIPURPOSE \
> -automaticMemoryManagement false \
> -totalMemory 1536 \
> -storageType FS \
> -datafileDestination "/u01/app/oracle/oradata/" \
> -redoLogFileSize 50 \
> -emConfiguration NONE \
> -ignorePreReqs

The following commands will delete the databases we created earlier.

$ dbca -silent -deleteDatabase -sourceDB cdb2 -sysDBAUserName sys -sysDBAP


assword OraPasswd1

$dbca -silent -deleteDatabase -sourceDB cdb3 -sysDBAUserName sys -sysDBAPa


ssword OraPasswd1

You might also like