Multitenant : Pluggable Database (PDB) Names
A brief article to highlight the importance of unique PDB names.
oracle 12cconfigurationintermediate
by OracleDba
13 views
A brief article to highlight the importance of unique PDB names.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
$ lsnrctl status
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 14-FEB-2015 13:15:50
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ol7-121.localdomain)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date 14-FEB-2015 12:29:40
Uptime 0 days 0 hr. 46 min. 10 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/12.1.0.2/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/ol7-121/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ol7-121.localdomain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "cdb1" has 1 instance(s).
Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "cdb1XDB" has 1 instance(s).
Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "cdb2" has 1 instance(s).
Instance "cdb2", status READY, has 1 handler(s) for this service...
Service "cdb2XDB" has 1 instance(s).
Instance "cdb2", status READY, has 1 handler(s) for this service...
Service "pdb1" has 2 instance(s).
Instance "cdb1", status READY, has 1 handler(s) for this service...
Instance "cdb2", status READY, has 1 handler(s) for this service...
The command completed successfully
$
PDB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ol7-121.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pdb1)
)
)
SQL> CONN sys@pdb1 AS SYSDBA
Enter password:
Connected.
SQL> SELECT name FROM v$database;
NAME
---------
CDB2
SQL> CONN sys@pdb1 AS SYSDBA
Enter password:
Connected.
SQL> SELECT name FROM v$database;
NAME
---------
CDB1
SQL> CONN sys@pdb1 AS SYSDBA
Enter password:
Connected.
SQL> SELECT name FROM v$database;
NAME
---------
CDB2
SQL>Please to add comments
No comments yet. Be the first to comment!