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
AWR Server Source Utilities
AUTHID
CURRENT_USER
Constants
Name
Data Type
Value
General
UPLOAD_BOUND_CURR_SNID
VARCHAR2(128)
'CURRENT_SNAP_ID'
UPLOAD_BOUND_MAX_SNID
VARCHAR2(128)
'MAX_SNAP_ID'
Dependencies
AWRHUB_CONFIG
DBMS_AWRWH_LIB
DBMS_AWR_WAREHOUSE_SERVER
DBMS_AWRHUB
Documented
No
Exceptions
Error Code
Reason
ORA-13575
The database is
not registered as a AWRHub source.
dbms_awrhub_source.check_registration_status(wait_time IN NUMBER DEFAULT NULL)
RETURN VARCHAR2;
PRAGMA SUPPLEMENTAL_LOG_DATA(CHECK_REGISTRATION_STATUS, READ_ONLY);
Returns the hub_account for given source_name and source_id
dbms_awrhub_source.get_hub_account(
hub_name IN VARCHAR2,
source_name IN VARCHAR2,
source_id IN NUMBER)
RETURN VARCHAR2;
PRAGMA SUPPLEMENTAL_LOG_DATA(GET_HUB_ACCOUNT, READ_ONLY);
dbms_awrhub_source.modify_source_settings(
hub_name IN VARCHAR2 DEFAULT NULL
source_name IN VARCHAR2 DEFAULT NULL,
upload_interval IN NUMBER DEFAULT NULL,
upload_lo_bound IN VARCHAR2 DEFAULT NULL,
upload_hi_bound IN VARCHAR2 DEFAULT NULL);
Configure the database where it runs as an AWRHub source of the specified hub
dbms_awrhub_source.register_source(
hub_name IN VARCHAR2,
source_name IN VARCHAR2 DEFAULT NULL,
hub_mailbox IN VARCHAR2,
mailbox_type IN VARCHAR2 DEFAULT 'FILE_SYSTEM',
mailbox_cred IN VARCHAR2 DEFAULT NULL,
cred_owner IN VARCHAR2 DEFAULT NULL);