oracle sql and dba tutorial logo

 

Oracle DBA

Learn Oracle 11g / 12c Database Admin step by step



Oracle SQL

Tutorial for Oracle SQL


Oracle DBA Interview Questions

Most asked Oracle DBA Interview Questions.

60 Technical Questions
42 Backup & Recovery Questions

Unix For Oracle DBA 20 Questions



Download Oracle 11g / 12 c Software

Links to Download Oracle 12c / 11g for Linux, Windows etc.


MySQL Tutorial

Learn MySQL step by step


 

 

 

 

 

 

 

 

 

Creating a Container Database Using SQL Commands Contd...

Step 6:- See the status of Pluggable databases

SQL> show pdbs

CON_ID  CON_NAME OPEN MODE RESTRICTED
------- -------- --------- ---------- 
2       PDB$SEED READ ONLY NO

Step 7:- Let’s us create the pluggable database ICAPDB1

       To create a pluggable database give the following command

SQL>CREATE PLUGGABLE DATABASE icapdb1 ADMIN USER icapdb1adm IDENTIFIED BY tiger
STORAGE (MAXSIZE 2G MAX_SHARED_TEMP_SIZE 100M)
DEFAULT TABLESPACE users
DATAFILE '/u02/oracle/icacdb/icapdb1/users01.dbf'
SIZE 250M AUTOEXTEND ON
FILE_NAME_CONVERT = ('/u02/oracle/icacdb/pdbseed/',
'/u02/oracle/icacdb/icapdb1/');

To view list of PDB’s

SQL> show pdbs

CON_ID     CON_NAME OPEN MODE RESTRICTED
------     -------- --------- --------
2          PDB$SEED READ ONLY NO
3          ICAPDB1  MOUNTED

Now open the pluggable database

SQL>alter pluggable database icapdb1 open;

See the status

SQL> show pdbs

CON_ID     CON_NAME OPEN MODE  RESTRICTED
------     -------- ---------  --------
2          PDB$SEED READ ONLY  NO
3          ICAPDB1  READ WRITE

To switch to Pluggable database give the following command

SQL>alter session set container=icapdb1

To view current container, give the following command

SQL> show con_name

 

 

 


HomeContact Us

Data Loader

Data Loader is a simple yet powerful tool to
export and import Data between many common database formats


Forms Data Loader

Tool to load data into Oracle E-Business Suite R12 / Oracle Apps using Macros and Forms Record and Playback

Interface Computers Academy © 2007-2017 All Rights Reserved