Search Results dbms_auto_report
Overview
SYS.DBMS_AUTO_REPORT is a server-side PL/SQL package that provides the underlying infrastructure for Oracle's Automatic Diagnostic Repository (ADR) automatic reporting facility, exposed within the EBS 12.1.1 and 12.2.2 technology stack. The package is declared with AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the invoking user rather than the definer, which allows the repository capture logic to attribute activity to the calling session and database context. Its principal business function is to capture, persist, and later retrieve diagnostic "reports" that describe the state of a component at a point in time. These reports are catalogued against a rich set of identifying attributes — database identifier, instance, container database, session and serial number, component name, and up to three caller-supplied key values — so that support personnel and diagnostic tools can reconstruct the sequence of events that led to a fault.
Key Procedures and Functions
- START_REPORT_CAPTURE / START_REPORT_CAPTURE_HELPER — Together these initiate a capture window. The helper routine performs the internal bookkeeping that the public entry point invokes; this is the pair most directly associated with the user search term start_report_capture_helper. A successful start establishes the session, snapshot, and component context under which subsequent reports are recorded, and returns a handle used by the matching finish call.
- FINISH_REPORT_CAPTURE / FINISH_REPORT_CAPTURE_HELPER — These close the capture window opened by the start routines, committing the captured content to the repository and releasing the handle. The helper carries out the low-level write and validation steps, raising error
ERR_FIN_CAPTURE(-13554) when a capture cannot be finalised. - REPORT_REPOSITORY_LIST_XML — Returns an XML document listing all repository reports matching the supplied filter criteria: activity period (active_since, active_upto), snapshot, database, instance, container DBID, session and serial, component name, key1 through key3, report level, an optional top-N count, and the base path required for Flex HTML resources.
- REPORT_REPOSITORY_DETAIL_XML — Produces an XML rendering of a single report's detailed content, suitable for display by the diagnostic viewer.
- REPORT_REPOSITORY_DETAIL — Returns the detail record for an individual report in non-XML form for programmatic consumption.
Tables Accessed
The ETRM metadata for this object does not enumerate tables referenced through APPS synonyms, and the package is owned by SYS rather than APPS. By design the package operates against the Automatic Workload Repository and ADR report repository catalogues, writing captured report rows during the finish phase and reading them back through the list and detail functions. Because the object sits in the SYS schema, ordinary EBS application code should treat the underlying storage as internal and interact only through the documented entry points.
Usage Notes
SYS.DBMS_AUTO_REPORT is not an application-facing API. It is invoked by diagnostic tooling — the ADR command interpreter, health monitor, and incident packaging utilities — and by the four dependent packages recorded in the metadata, which call the capture routines on behalf of monitored components. In an EBS context it may be reached indirectly when a concurrent program or form triggers automatic diagnostic collection on error. Customisation is not recommended: because the package executes with invoker's rights, any direct call inherits the caller's privilege set, and its internal helpers are intended solely for use by the public start/finish wrappers. Developers diagnosing a failure should use the public functions only to inspect the repository, never to write to it directly.
-
PACKAGE: SYS.DBMS_AUTO_REPORT
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_AUTO_REPORT, status:VALID,
-
PACKAGE: SYS.DBMS_AUTO_REPORT
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_AUTO_REPORT, status:VALID,
-
SYNONYM: PUBLIC.DBMS_AUTO_REPORT
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_AUTO_REPORT, status:VALID,
-
SYNONYM: PUBLIC.DBMS_AUTO_REPORT
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_AUTO_REPORT, status:VALID,
-
PACKAGE BODY: SYS.DBMS_AUTO_REPORT
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_AUTO_REPORT, status:VALID,
-
PACKAGE BODY: SYS.DBMS_AUTO_REPORT
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_AUTO_REPORT, status:VALID,
-
LIBRARY: SYS.DBMS_REPORT_LIB
12.2.2
owner:SYS, object_type:LIBRARY, object_name:DBMS_REPORT_LIB, status:VALID,
-
TYPE BODY: SYS.WRI$_REPT_ARC
12.2.2
owner:SYS, object_type:TYPE BODY, object_name:WRI$_REPT_ARC, status:VALID,
-
LIBRARY: SYS.DBMS_REPORT_LIB
12.1.1
owner:SYS, object_type:LIBRARY, object_name:DBMS_REPORT_LIB, status:VALID,
-
VIEW: SYS.DBA_HIST_REPORTS_DETAILS
12.2.2
owner:SYS, object_type:VIEW, object_name:DBA_HIST_REPORTS_DETAILS, status:VALID,
-
TYPE BODY: SYS.WRI$_REPT_ARC
12.1.1
owner:SYS, object_type:TYPE BODY, object_name:WRI$_REPT_ARC, status:VALID,
-
PACKAGE BODY: SYS.DBMS_PERF
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_PERF, status:VALID,
-
PACKAGE BODY: SYS.PRVTEMX_PERF
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:PRVTEMX_PERF, status:VALID,
-
PACKAGE BODY: SYS.PRVTEMX_PERF
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:PRVTEMX_PERF, status:VALID,
-
PACKAGE BODY: SYS.DBMS_PERF
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_PERF, status:VALID,
-
PACKAGE: SYS.DBMS_SQLTUNE_UTIL2
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_SQLTUNE_UTIL2, status:VALID,
-
PACKAGE: SYS.DBMS_SQLTUNE_UTIL2
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SQLTUNE_UTIL2, status:VALID,
-
TABLE: SYS.WRP$_REPORTS_CONTROL
12.1.1
owner:SYS, object_type:TABLE, object_name:WRP$_REPORTS_CONTROL, status:VALID,
-
TABLE: SYS.WRP$_REPORTS_CONTROL
12.2.2
owner:SYS, object_type:TABLE, object_name:WRP$_REPORTS_CONTROL, status:VALID,
-
VIEW: SYS.DBA_HIST_REPORTS_DETAILS
12.1.1
owner:SYS, object_type:VIEW, object_name:DBA_HIST_REPORTS_DETAILS, status:VALID,
-
OPERATOR: SYS.XQSEQUENCE
12.1.1
owner:SYS, object_type:OPERATOR, object_name:XQSEQUENCE, status:VALID,
-
OPERATOR: SYS.XQSEQUENCE
12.2.2
owner:SYS, object_type:OPERATOR, object_name:XQSEQUENCE, status:VALID,
-
VIEW: SYS.DBA_HIST_REPORTS
12.1.1
owner:SYS, object_type:VIEW, object_name:DBA_HIST_REPORTS, status:VALID,
-
VIEW: SYS.DBA_HIST_REPORTS
12.2.2
owner:SYS, object_type:VIEW, object_name:DBA_HIST_REPORTS, status:VALID,
-
PACKAGE: SYS.PRVT_REPORT_TAGS
12.1.1
owner:SYS, object_type:PACKAGE, object_name:PRVT_REPORT_TAGS, status:VALID,
-
PACKAGE: SYS.PRVT_REPORT_TAGS
12.2.2
owner:SYS, object_type:PACKAGE, object_name:PRVT_REPORT_TAGS, status:VALID,
-
PACKAGE BODY: SYS.DBMS_SQLTUNE
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_SQLTUNE, status:VALID,
-
PACKAGE: SYS.DBMS_REPORT
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPORT, status:VALID,
-
PACKAGE BODY: SYS.DBMS_SQLTUNE
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_SQLTUNE, status:VALID,
-
PACKAGE: SYS.DBMS_REPORT
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_REPORT, status:VALID,
-
PACKAGE BODY: SYS.DBMS_AUTO_REPORT
12.2.2
-
PACKAGE: SYS.DBMS_LOCK
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_LOCK, status:VALID,
-
PACKAGE: SYS.DBMS_LOCK
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_LOCK, status:VALID,
-
PACKAGE BODY: SYS.DBMS_AUTO_REPORT
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
TYPE: SYS.XMLTYPE
12.1.1
owner:SYS, object_type:TYPE, object_name:XMLTYPE, status:VALID,
-
PACKAGE: SYS.DBMS_AUTO_REPORT
12.2.2
-
PACKAGE: SYS.DBMS_AUTO_REPORT
12.1.1
-
PACKAGE: SYS.DBMS_SYS_ERROR
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SYS_ERROR, status:VALID,
-
PACKAGE: SYS.DBMS_SYS_ERROR
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_SYS_ERROR, status:VALID,
-
TYPE: SYS.XMLTYPE
12.2.2
owner:SYS, object_type:TYPE, object_name:XMLTYPE, status:VALID,
-
SYS.PRVTEMX_PERF dependencies on DBMS_AUTO_REPORT
12.2.2
-
SYS.DBMS_AUTO_REPORT dependencies on DBMS_AUTO_REPORT
12.2.2
-
PUBLIC.DBMS_AUTO_REPORT dependencies on DBMS_AUTO_REPORT
12.1.1
-
SYS.DBMS_SQLTUNE dependencies on DBMS_AUTO_REPORT
12.1.1
-
SYS.PRVTEMX_PERF dependencies on DBMS_AUTO_REPORT
12.1.1
-
SYS.DBMS_PERF dependencies on DBMS_AUTO_REPORT
12.1.1