Oracle DBMS_RESCONFIG Version 21c |
---|
General Information | ||||||||||||||||
Library Note |
|
|||||||||||||||
Purpose | Provides an interface to operate on the resource configuration list and to retrieve listener information for a resource | |||||||||||||||
AUTHID | CURRENT_USER | |||||||||||||||
Constants |
|
|||||||||||||||
Dependencies |
|
|||||||||||||||
Documented | Yes: Packages and Types Reference | |||||||||||||||
First Available | 10.2 | |||||||||||||||
Related System Privileges | XDBADMIN | |||||||||||||||
Security Model | Owned by XDB with EXECUTE granted to PUBLIC This is another good example of Oracle's developers not taking security as seriously as they should. All you have to do is look at the names of two of the objects, DeleteRepositoryResConfig and DeleteResConfig to know that this should not be available to someone whose only privilege is CREATE SESSION. |
|||||||||||||||
Source | {ORACLE_HOME}/rdbms/admin/dbmsxrc.sql | |||||||||||||||
Subprograms | ||||||||||||||||
ADDREPOSITORYRESCONFIG | ||||||||||||||||
Inserts the resource configuration specified by rcpath at the given position of the repository's configuration list. Shifts the element currently at that position (if any) and any subsequent elements to the right. | dbms_resconfig.addrepositoryresconfig( |
|||||||||||||||
exec dbms_ResConfig.AddRepositoryResConfig('/sys/xs/morgan.xml', 20); -- see also prvthzxevents.plb |
||||||||||||||||
ADDRESCONFIG | ||||||||||||||||
Inserts the resource configuration specified by rcpath at the given position in the target resource's configuration list | dbms_resconfig.addresconfig( |
|||||||||||||||
TBD | ||||||||||||||||
APPENDRESCONFIG | ||||||||||||||||
Appends the resource configuration specified by rcpath to the target resource's configuration list if it is not already included in the list | dbms_resconfig.appendresconfig( |
|||||||||||||||
TBD | ||||||||||||||||
DELETEREPOSITORYRESCONFIG | ||||||||||||||||
Removes the configuration at the given position in the repository's configuration list. Shifts any subsequent elements to the left.
Users must have XDBADMIN role to execute this. This statement is treated as if it is a DDL statement. This means the system will implicitly commit before and after this statement. Warning: Running this statement, as shown, is destructive. Demo only. |
dbms_resconfig.deleteRepositoryResConfig(pos IN PLS_INTEGER); |
|||||||||||||||
-- found in xse102.sqlBEGIN |
||||||||||||||||
DELETERESCONFIG | ||||||||||||||||
Removes the configuration at the given position in the target resource's configuration list Overload 1 Warning: Running this statement, as shown, is destructive. Demo only. |
dbms_resconfig.deleteresconfig( |
|||||||||||||||
exec dbms_resconfig.deleteresconfig('/sys/xs', 9); |
||||||||||||||||
Removes the configuration specified by rcpath from the target resource's configuration list. Shifts any subsequent elements to the left. Users must have write-config privilege on all affected resources to execute this. Overload 2 Demo at right found in version 18.3.0.1 $ORACLE_HOME/rdbms/admin/nacla112.sql |
dbms_resconfig.deleteresconfig( |
|||||||||||||||
BEGIN |
||||||||||||||||
GETLISTENERS | ||||||||||||||||
Returns an XML doc containing the list of listeners applicable for a given resource | dbms_resconfig.getlisteners(path IN VARCHAR2) RETURN SYS.XMLType; |
|||||||||||||||
SELECT dbms_resconfig.getlisteners('/sys/xs') FROM dual; |
||||||||||||||||
GETREPOSITORYRESCONFIG | ||||||||||||||||
Returns the resource configuration at the specified position of the repository's configuration list | dbms_resconfig.getRepositoryResConfig(pos IN PLS_INTEGER) |
|||||||||||||||
SELECT dbms_resconfig.getRepositoryResConfig(0) |
||||||||||||||||
GETREPOSITORYRESCONFIGPATHS | ||||||||||||||||
Returns a list of resource configuration paths defined for the repository | dbms_resconfig.getrepositoryresconfigpaths RETURN XDB$STRING_LIST_T; |
|||||||||||||||
SELECT * FROM TABLE(dbms_resconfig.getRepositoryResConfigPaths()); -- see also xsu112.sql |
||||||||||||||||
GETRESCONFIG | ||||||||||||||||
Returns the resource configuration at the specified position of the target resource's configuration list | dbms_resconfig.getresconfig( |
|||||||||||||||
SELECT dbms_resconfig.getresconfig('/sys/xs', 4) |
||||||||||||||||
GETRESCONFIGPATHS | ||||||||||||||||
Returns a list of resource configuration paths defined in the target resource's configuration list | dbms_resconfig.getresconfigpaths(respath IN VARCHAR2) |
|||||||||||||||
SELECT dbms_resconfig.getresconfigpaths('/sys/xs') FROM dual; |
||||||||||||||||
Related Queries | ||||||||||||||||
Found in xse102.sql (in version 10.2.0.1) | SELECT ANY_PATH p |
Related Topics |
Built-in Functions |
Built-in Packages |
DBMS_XDB |
DBMS_XEVENT |
What's New In 21c |
What's New In 23c |
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 | |||||||||
|
||||||||||