Skip to main content

ORACLE_DB_PDB

Constant ORACLE_DB_PDB 

pub const ORACLE_DB_PDB: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

The pluggable database (PDB) name associated with the connection.

§Notes

This attribute SHOULD reflect the PDB that the session is currently connected to. If instrumentation cannot reliably obtain the active PDB name for each operation without issuing an additional query (such as SELECT SYS_CONTEXT), it is RECOMMENDED to fall back to the PDB name specified at connection establishment.

§Examples

  • "PDB1"
  • "FREEPDB"