• Arun Kumar

DBCA silent mode

This article describes how to create a new database using the Database Configuration Assistant (DBCA) in silent mode.


When you work in real-time on a remote server, you might not have access to graphical user interface. In such situations, you would need to run DBCA in silent mode to create a database.


There is a difference between Oracle 11g and Oracle 12c DBCA silent mode database creation. You will find examples of both 11g & 12c silent mode database creation below.


DBCA Create Database 11g


To run DBCA in silent mode, you just need to add -silent while running the DBCA utility. The below command will create testdb database in silent mode (oracle 11g version)

dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname testdb -sid testdb -characterSet AL32UTF8 -memoryPercentage 20 -emConfiguration NONE

Notice the parameters:

  • -silent will run dbca in silent mode

  • -createDatabase specifies the option you want to perform

  • -templateName specifies the database template you using

  • -gdbname is your global database name

  • -sid is your database identifier


DBCA Create Database 12c


As Oracle 12c has PDB and CDB concepts, the DBCA silent mode has some more parameters compared to Oracle 11g.


The below command creates Oracle 12c database by running DBCA in silent mode. This commands works for both Oracle 12cR1 and Oracle 12cR2.

dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbName testdb -sid testdb -createAsContainerDatabase false -emConfiguration NONE -datafileDestination /u01/db_files -storageType FS -characterSet AL32UTF8 -totalMemory 2048 -recoveryAreaDestination /u01/FRA -sampleSchema true

Notice new parameters:

  • -createAsContainerDatabase specifies if you want to create a container database

  • -datafileDestination specifies the location of your data files

  • -recoveryAreaDestination specifies the fast recovery area location


DBCA Delete Database


You can use DBCA to delete database from a Linux server. Use below command to run DBCA in silent mode and delete a database


dbca -silent -deleteDatabase -sourceDB testdb -sysDBAUserName sys



Further Read

1,410 views

Recent Posts

See All

Oracle 12c to 19c Database Upgrade

In this article we will be looking at two most commonly used methods of upgrading Oracle database from 12c to 19c Pre-upgrade tasks Upgrade using DBUA Upgrade using Manual Method You can perform a dir

  • Facebook
  • Twitter
  • YouTube
  • Instagram

© 2020 by DBA Genesis