List of PLugabel Database in the Container Database:
select CON_ID, NAME, OPEN_MODE from V$PDBS;
Connecting PLuggable Database:
alter session set container = pdb6;
to connect with the container database:
ALTER SESSION SET CONTAINER = CDB$ROOT;
To get the name of connected database:
show con_name
Starting Plugable Database:
From the current PDB:
alter pluggable database open;
From Container Database:
alter pluggable database pdb6 open;
Shutting Down Plugable Database:
From the current PDB:
alter pluggable database close;
From Container Database
alter pluggable database pdb6 close;
List of Common users in CDB:
select distinct USERNAME from CDB_USERS where common = 'YES';
List of Modifiable parameters in PDB level:
set lines 200
col name for a35
select NAME, ISPDB_MODIFIABLE from V$PARAMETER;
Values of CON_ID and definition:
0 = The data pertains to the entire CDB
1= The data pertains to the root
2= The data pertains to the seed
3 - 254 = The data pertains to a PDB, Each PDB has its own container ID.