<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the pluggable database (PDB) called in an Oracle enterprise geodatabase? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281194#M35717</link>
    <description>&lt;P&gt;You would normally choose the Pluggable database name yourself, eg when using Oracle's Database Configuration Assistant. But if you left the form like this, I believe the database would be called either&amp;nbsp;notcontain or orclpdb.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisUnderwood_0-1682065853356.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68693i34B587E60D14ED26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisUnderwood_0-1682065853356.png" alt="ChrisUnderwood_0-1682065853356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can tell if a database is Container or Pluggable with a SQL Query like this.&lt;/P&gt;&lt;P&gt;SQL&amp;gt; select cdb from v$database;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 08:35:40 GMT</pubDate>
    <dc:creator>ChrisUnderwood</dc:creator>
    <dc:date>2023-04-21T08:35:40Z</dc:date>
    <item>
      <title>What is the pluggable database (PDB) called in an Oracle enterprise geodatabase?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281148#M35715</link>
      <description>&lt;P&gt;I’m a non-admin trying to learn about &lt;A href="https://www.databasestar.com/oracle-pdb/" target="_self"&gt;Oracle pluggable databases (PDB)&lt;/A&gt; for professional development purposes.&lt;/P&gt;&lt;P&gt;What is the OOTB pluggable database (PDB) called that is used by an Oracle 18c 10.7.1 enterprise geodatabase?&lt;/P&gt;&lt;P&gt;For example, in Oracle 18c Express Edition, there is a default PDB called&amp;nbsp;XEPDB1. What is the equivalent PDB in an Oracle EGDB? Or does the PDB name get defined by the DBA who set up the Oracle database?&lt;/P&gt;&lt;P&gt;Can I determine the PDB name by looking at:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ArcGIS Pro database connection properties?&lt;/LI&gt;&lt;LI&gt;SQL Developer connection properties (JDBC)?&lt;/LI&gt;&lt;LI&gt;A database query from a user/schema/owner connection (like PARKS, not SYS)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;Related:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;The non-CDB architecture [no PDBs] (the way the databases work before 12c) is available in recent versions, but it was deprecated in Oracle 12c and desupported in Oracle 20c.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.databasestar.com/oracle-pdb/" target="_blank" rel="noopener"&gt;https://www.databasestar.com/oracle-pdb/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;might find this interesting.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 16:10:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281148#M35715</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-22T16:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is the pluggable database (PDB) called in an Oracle enterprise geodatabase?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281194#M35717</link>
      <description>&lt;P&gt;You would normally choose the Pluggable database name yourself, eg when using Oracle's Database Configuration Assistant. But if you left the form like this, I believe the database would be called either&amp;nbsp;notcontain or orclpdb.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisUnderwood_0-1682065853356.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68693i34B587E60D14ED26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisUnderwood_0-1682065853356.png" alt="ChrisUnderwood_0-1682065853356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can tell if a database is Container or Pluggable with a SQL Query like this.&lt;/P&gt;&lt;P&gt;SQL&amp;gt; select cdb from v$database;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 08:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281194#M35717</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2023-04-21T08:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is the pluggable database (PDB) called in an Oracle enterprise geodatabase?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281393#M35718</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;- you can find a complete database template script to setup an Oracle CDB and PDBs in the link below, by looking my template you shall find answers to your questions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351" target="_blank" rel="noopener"&gt;Mapping and Charting Solutions (MCS) Enterprise Databases Best Practices&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Oracle-Base also has a nice tutorial.&lt;/P&gt;&lt;P&gt;&lt;A href="https://oracle-base.com/articles/12c/multitenant-overview-container-database-cdb-12cr1" target="_blank" rel="noopener"&gt;https://oracle-base.com/articles/12c/multitenant-overview-container-database-cdb-12cr1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Answers:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PDB name is controlled by the Oracle DBA when the PDB is created.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;--PMPDB&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CREATE PLUGGABLE DATABASE &lt;STRONG&gt;pmpdb&lt;/STRONG&gt; ADMIN USER pmpdbadm IDENTIFIED BY "pmpdb$admin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ROLES = (dba)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DEFAULT TABLESPACE USERS LOGGING&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DATAFILE 'C:/oracle/oradata/mcs/pmpdb/users.dbf' &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SIZE 5M REUSE AUTOEXTEND ON NEXT 1280K &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAXSIZE UNLIMITED &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;EXTENT MANAGEMENT LOCAL &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SEGMENT SPACE MANAGEMENT AUTO&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILE_NAME_CONVERT=('C:/oracle/oradata/mcs/pdbseed/','C:/oracle/oradata/mcs/pmpdb/')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PATH_PREFIX = NONE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;STORAGE ( MAXSIZE UNLIMITED MAX_SHARED_TEMP_SIZE UNLIMITED); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Can I determine the PDB name by looking at:&lt;/P&gt;&lt;P&gt;1. ArcGIS Pro database connection properties?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Marcelo]:&lt;/STRONG&gt; yes, the easy connect syntax "&amp;lt;server_name&amp;gt;:&amp;lt;port_name&amp;gt;@&amp;lt;service_name&amp;gt;&lt;/P&gt;&lt;P&gt;service_name = pdb_name&lt;BR /&gt;&lt;BR /&gt;if using tnsnames.ora then look the details of your tnsnames.ora file to learn if it points to the pdb.&lt;/P&gt;&lt;P&gt;2. SQL Developer connection properties (JDBC)?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Marcelo]:&lt;/STRONG&gt; same as above.&lt;/P&gt;&lt;P&gt;3. A database query from a user/schema/owner connection (like PARKS, not SYS)?&lt;/P&gt;&lt;P&gt;alter session set container = cdb$root;&lt;/P&gt;&lt;P&gt;SELECT * FROM dba_pdbs ORDER BY pdb_name;&lt;BR /&gt;SELECT * FROM v$pdbs ORDER BY name;&lt;BR /&gt;SELECT * FROM dba_registry;&lt;BR /&gt;SELECT * FROM dba_registry_sqlpatch order by action_time desc;&lt;BR /&gt;--PDB_PLUG_IN_VIOLATIONS&lt;BR /&gt;select count(*) from PDB_PLUG_IN_VIOLATIONS;&lt;BR /&gt;select name, cause, type, message, status, action&lt;BR /&gt;from PDB_PLUG_IN_VIOLATIONS&lt;BR /&gt;--where /*type like 'ERROR%' and*/ status like 'PENDING'&lt;BR /&gt;order by 1,2;&lt;/P&gt;&lt;P&gt;See this screenshot with SQL Plus commands that you can use.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_1-1682099917566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68745iBC4187CC135D6FB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarceloMarques_1-1682099917566.png" alt="MarceloMarques_1-1682099917566.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 17:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/what-is-the-pluggable-database-pdb-called-in-an/m-p/1281393#M35718</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-04-21T17:59:39Z</dc:date>
    </item>
  </channel>
</rss>

