ACTIVITY_REPORT Function
This function reports auto zone map activity for a given time window.
Syntax
DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT ( start_time IN TIMESTAMP WITH TIME ZONE DEFAULT NULL, end_time IN TIMESTAMP WITH TIME ZONE DEFAULT NULL, type IN VARCHAR2 DEFAULT NULL, section IN VARCHAR2 DEFAULT NULL, level IN VARCHAR2 DEFAULT NULL); RETURNS CLOB
Parameters
Table 39-2 ACTIVITY_REPORT Function Parameters
| Parameter | Description |
|---|---|
|
|
Timestamp from which auto zone map executions are observed for the report. If the value is The default value is |
|
|
Timestamp until which auto zone map executions are observed for the report. If the value is The default value is Note: If you specifyNULL for both start_time and end_time, the function will display the report from the last run.
|
|
|
Output type of the report. The possible values are The default value is |
section |
Particular section in the report. The possible values are:
The default value is |
level |
Format of the report. It represents the level of details with in each section. Possible values are:
|
Return Values
Report in CLOB format. The default report format is TEXT. Possible formats are TEXT, XML, and HTML.
Usage Notes
- DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT(): returns report for all the execution history of last execution in
TEXTformat and all the sections will be displayed with typical level. - DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT(systimestamp-2, NULL): returns report for all the execution history for last two days in
TEXTformat and all the sections will be displayed with typical level. - DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT(NULL, systimestamp-1): returns report for all the execution history from beginning to yesterday in
TEXTformat and all the sections will be displayed with typical level. - DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT(NULL, NULL, ‘HTML’, ‘DETAILS’, ‘BASIC’): returns last execution’s report in
HTMLformat and only details section will be displayed with only basic details in each section - DBMS_AUTO_ZONEMAP.ACTIVITY_REPORT(systimestamp – 2, systimestmap, ‘TEXT’, ‘ALL’,’TYPICAL’): returns report for last 48 hours in text format and all the sections will be displayed with typical details.