Oracle PDB Status Test
The multitenant architecture enables an Oracle database to function as a multitenant container database (CDB) that includes zero, one, or many customer-created pluggable databases (PDBs). A PDB is a portable collection of schemas, schema objects, and nonschema objects that appears to an Oracle Net client as a non-CDB. All Oracle databases before Oracle Database 12c were non-CDBs.
A container is either a PDB or the root container (also called the root). The root is a collection of schemas, schema objects, and nonschema objects to which all PDBs belong.
Every CDB has the following containers:
-
Exactly one root
The root stores Oracle-supplied metadata and common users. An example of metadata is the source code for Oracle-supplied PL/SQL packages. A common user is a database user known in every container. The root container is named CDB$ROOT.
-
Exactly one seed PDB
The seed PDB is a system-supplied template that the CDB can use to create new PDBs. The seed PDB is named PDB$SEED. You cannot add or modify objects in PDB$SEED.
-
Zero or more user-created PDBs
A PDB is a user-created entity that contains the data and code required for a specific set of features. For example, a PDB can support a specific application, such as a human resources or sales application. No PDBs exist at creation of the CDB. You add PDBs based on your business requirements.
If a user is experiencing errors when attempting to open a PDB, administrators must be able to quickly check the status of the PDB to figure out the reason for the error. For this purpose, administrators can use the Oracle PDB Status test. This test automatically discovers the PDBs and reports the current status and mode of every PDB.
Target of the test : An Oracle 12c server
Agent deploying the test : An internal agent
Outputs of the test : One set of results for every PDB on the Oracle server.
|
Measurement | Description | Measurement Unit | Interpretation | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status: |
Indicates the current status of this PDB. |
|
The values that this measure can report and their corresponding numeric values are discussed hereunder:
Note: By default, this measure reports the above-mentioned Measure Values while indicating the current state of a PDB. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents only. |
|||||||||||||||||||||
Mode: |
Indicates the mode in which this PDB has been opened currently. |
|
The values that this measure can report and their corresponding numeric values are discussed hereunder:
Note: By default, this measure reports the above-mentioned Measure Values while indicating the mode in which the PDB is opened. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents only. |
|||||||||||||||||||||
Uptime |
Indicates how long this PDB has been up and running. |
Seconds |
|
|||||||||||||||||||||
Uptime since last measure |
Indicates the duration for which this PDB has been up since the last measurement period. |
Seconds |
If the value of this measure is lesser than the test frequency, it indicates that the PDB was rebooted during the last measurement period. |
|||||||||||||||||||||
Is rebooted? |
Indicates whether this PDB was rebooted or not. |
|
This measure reports the value Yes if the PDB was rebooted in the last measurement period, and the value No if it was not rebooted. The numeric values that correspond to these measure values have been listed in the table below:
Note: This test reports the Measure Values listed in the table above to indicate whether/not the PDB was rebooted. In the graph of this measure however, the same will be represented using the numeric equivalents. |