Oracle DBMS_DLM
Version 21c

General Information
Library Note Morgan's Library Page Header
Which has the higher priority in your organization: Deploying a new database or securing the ones you already have? Looking for a website, and resources, dedicated solely to securing Oracle databases? Check out DBSecWorx.
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
Subprograms
 
PDB_PRECLOSE (new 20c)
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 (new 20c)
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 19c
What's New In 20c-21c

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-2019 Daniel A. Morgan All Rights Reserved
  DBSecWorx