Oracle DBMS_DLM
Version 23c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Pre-opens or pre-closes a pluggable database.

What either of these two terms actually mean remains unknown but is a response to bug 29123222.
AUTHID DEFINER
Dependencies
DBMS_ASSERT    
Documented No
Exceptions Unfortunately seems to be none. And we say unfortunately because it does not sanitize or validate its inputs.

Enter an invalid PDB name or SID and it happily accepts it and reports that it ran successfully.
First Available 20c
Pragma PRAGMA SUPPLEMENTAL_LOG_DATA(default, READ_ONLY);
Security Model Owned by SYS with EXECUTE granted to the DBA role.
Source {ORACLE_HOME}/rdbms/admin/dbmssrv.sql
{ORACLE_HOME}/rdbms/admin/prvtsrv.plb
Subprograms
 
PDB_PRECLOSE
Pre-closes a pluggable database dbms_dlm.preclose(
r_pdb_name      IN VARCHAR2,
source_inst_sid IN VARCHAR2       := NULL,
target_inst_sid IN VARCHAR2       := NULL,
timeout         IN BINARY_INTEGER := NULL,
max_pdbs        IN BINARY_INTEGER := NULL,
options         IN BINARY_INTEGER := NULL);
exec dbms_dlm.pdb_preclose('PDBDEV');

PL/SQL procedure successfully completed.
 
PDB_PREOPEN
Pre-opens a pluggable database dbms_dlm.preopen(
r_pdb_name      IN VARCHAR2,
source_inst_sid IN VARCHAR2,
target_inst_sid IN VARCHAR2       := NULL,
timeout         IN BINARY_INTEGER := NULL,
max_pdbs        IN BINARY_INTEGER := NULL,
options         IN BINARY_INTEGER := NULL);
exec dbms_dlm.pdb_preopen('PDBDEV', 'ORABASE');

PL/SQL procedure successfully completed.

Related Topics
Built-in Functions
Built-in Packages
Database Security
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx