---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Oracle PDBs and CDBs

# Oracle pluggable database and container database discovery {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Oracle pluggable database and container database discovery

The ServiceNow Discovery application enables the identification and mapping of Oracle pluggable databases (PDBs) and container databases (CDBs) within your environment.
PDBs are portable collections of schemas and objects that appear as separate databases to Oracle Net clients, while a group of PDBs forms a CDB.
To leverage this capability, ensure you have the latest Discovery and Service Mapping Patterns application installed from the ServiceNow Store.
Show full answer Show less  

## Prerequisites

* Configure user credentials with appropriate permissions using one of the following methods:
  * Applicative credentials or Oracle Wallet authentication
  * Windows credentials for Windows environments
  * SSH credentials for Unix environments
* Grant the Oracle database user permissions to run queries on key system tables such as V$DATAFILE, V$TEMPFILE, V$LOG, DBAFREESPACE, V$DATABASE, V$PDBS, and V$PARAMETER.
* Set applicative credentials at the CDB level to discover PDB relationships and the CDB size; alternatively, set credentials at both the CDB and PDB levels for more granular discovery, including PDB attributes.

## Data Collected During Discovery

Discovery gathers detailed information about PDBs and CDBs, storing it in configuration management database (CMDB) tables such as **cmdbcidborapdbinstance** and **cmdbcidbinstancesize**. Key data points include:

* **cmdbcidborapdbinstance**: PDB instance SID, combined name (SID and hostname), PDB version, edition, install directory, Oracle home, and associated CDB name.
* **cmdbcidbinstancesize**: Instance SID, combined name, total database size, used size, and free space.

This discovery process also establishes the relationships between PDBs, CDBs, and their containers, enabling clear dependency mapping within the CMDB.

## Practical Benefits for ServiceNow Customers

* Accurate mapping of Oracle database architecture in your CMDB, supporting improved asset management and impact analysis.
* Visibility into database size and usage metrics, aiding capacity planning and optimization.
* Streamlined discovery processes by leveraging existing credential configurations and permissions.  
The ServiceNow Discovery application can discover Oracle pluggable databases (PDBs) and container databases (CDBs). Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
A PDB is a portable collection of schemas, schema objects, and non-schema objects that
appear to an Oracle Net client as a separate database. A collection of PDBs is called a
container database (CDB).

For more information about PDBs and CDBs, see [What are CDBs, PDBs and Containers?](http://www.oracle-wiki.net/premium:startdocsminimulticdbs)

## Request apps on the Store {#oracle-cdb-pdb-discovery__section_gvb_cql_rlb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).{#oracle-cdb-pdb-discovery__inline-send-to-store}

## Prerequisites {#oracle-cdb-pdb-discovery__section_s3d_tkh_w3b}

Set the user credentials and grant permissions:

* Configure [Applicative credentials](https://www.servicenow.com/docs/access?context=applicative-creds&version=australia&pubname=australia-platform-security&ft:locale=en-US) or [Oracle Wallet authentication](https://www.servicenow.com/docs/irtiL8FN2eNBYNbx7~UXKQ "With Oracle Wallet authentication, Discovery reads database credentials directly from the target server. This approach keeps credentials within the target environment instead of storing them on the ServiceNow AI Platform.")
* For Windows, configure [Windows credentials](https://www.servicenow.com/docs/access?context=r_WindowsCredentialsForm&version=australia&pubname=australia-platform-security&ft:locale=en-US)
* For Unix, configure [SSH credentials](https://www.servicenow.com/docs/access?context=r_SSHCredentialsForm&version=australia&pubname=australia-platform-security&ft:locale=en-US)
* For the Oracle database, configure [Oracle database discovery](https://www.servicenow.com/docs/3xs7lVVB6Bdt7v6pj3KM5A "Discovery can identify an Oracle database instance that is running on UNIX or Windows operating systems. It can also find Oracle clusterware, which runs Real Application Clusters (RAC).")
* Provide a user with permissions to run queries on the following tables:
  * V$DATAFILE
  * V$TEMPFILE
  * V$LOG
  * DBA_FREE_SPACE
  * V$DATABASE
  * V$PDBS
  * V$PARAMETER
  {#oracle-cdb-pdb-discovery__ul_os2_hgv_w3b}
{#oracle-cdb-pdb-discovery__ul_c4h_mcj_hkb}  
Note:  
Set applicative credentials at the CDB level to discover relationships for PDBs and the CDB size only. Alternatively, set applicative credentials at the CDB/PDB level to discover relationships for PDBs and the CDB/PDB size. If you do not set applicative credentials at the CDB level, no PDB attributes are discovered.

## Data collected during Discovery {#oracle-cdb-pdb-discovery__section_uhs_zf5_w3b}

Discovery collects the following data:{#oracle-cdb-pdb-discovery__table_ktj_ph5_w3b__entry__2}

| Table and field | Description |
|-|-|
| cmdb_ci_db_ora_pdb_instance: Relation Type : Managed By​​ ||
| sid | Name of the PDB instance​​ |
| name | Name of the CI in CMDB. This is a combination of sid and the hostname​. |
| version | Version of the PDB as taken from the CDB instance​​ |
| edition | Edition of the PDB as taken from the CDB instance​​ |
| install_directory | Install directory of the PDB as taken from the CDB instance |
| oracle_home​ | Oracle home of the PDB as taken from the CDB instance |
| cdb_name | Name of the cdb sid that contains the PDB. This refers to the Oracle database instance configuration item (CI​) |
| cmdb_ci_db_instance_size: Relation Type : Contained By​​ ||
| sid | Name of the Oracle database CDB/PDB instance​​ |
| name | Name of the CI in CMDB. This is a combination of the sid and the hostname. |
| db_size | Total size allocated to the database instance |
| used_size | Size used by the database instance |
| free_size | Size of the free space on the database instance |
[ ]

{#oracle-cdb-pdb-discovery__table_ktj_ph5_w3b} The following is a dependency view of the relationship between PDBs, CDBs, and
containers.
**Related reference**   

* [Oracle Catalog discovery](https://www.servicenow.com/docs/PbP_QZkcSbZ9p_3~A~XGPw "The Discovery and Service Mapping Patterns application uses the Get Catalog info pattern extension of the Oracle DB on Unix and Oracle DB on Windows patterns to find Oracle Catalog objects. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.")
* [Oracle GLAS data collection using patterns](https://www.servicenow.com/docs/iAKBK4f3bWAx5nfQU8~png "The ServiceNow Discovery application uses the Oracle GLAS Data Collection pattern extensions to discover Oracle GLAS data. This data includes discovered Oracle Database, Middleware, and Java configuration items.")

