Oracle DBMS_WRR_PROTECTED
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
Purpose Supporting utilities for Workload Replay
AUTHID CURRENT_USER
Dependencies
DBMS_ASSERT DBMS_WORKLOAD_REPLAY DBMS_WRR_INTERNAL
DBMS_STANDARD    
Documented No
First Available 12.2.0.1
Security Model Owned by SYS with no privileges granted.

As can be seen in the demo below this package, or at least parts of it, are protected using the ACCESSIBLE BY clause
Source {ORACLE_HOME}/rdbms/admin/prvtwrr.plb
Subprograms
 
CHECK_DIR_ACCESS (new 18c)
Undocumented dbms_wrr_protected.dcheck_dir_access(
dir         IN VARCHAR2,
check_write IN BOOLEAN);
TBD
 
CHECK_RAT_PRIVILEGE (new 18c)
Undocumented dbms_wrr_protected.check_rat_privilege(auth_type IN BINARY_INTEGER);
exec dbms_wrr_protected.check_rat_privilege(1);
     *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00904: insufficient privilege to access object DBMS_WRR_PROTECTED
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
 
SET_PDB_ENABLED (new 18c)
Undocumented dbms_wrr_protected.set_pdb_enabled(new_value IN BOOLEAN);
exec dbms_wrr_protected.set_pdb_enabled(TRUE);
     *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00904: insufficient privilege to access object DBMS_WRR_PROTECTED
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Related Topics
Built-in Functions
Built-in Packages
DBMS_WORKLOAD_REPLAY
What's New In 12cR2
What's New In 18cR3

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