Search Results dbms_monitor




Overview

SYS.DBMS_MONITOR is a database-resident PL/SQL package supplied by Oracle that exposes server-side instrumentation and diagnostic services to the Oracle E-Business Suite environment. It runs with SYS privileges and is licensed under the Oracle RDBMS rather than the EBS application schema, which means it is available to every EBS 12.1.1 and 12.2.2 environment that sits on a supported database release. The package provides two principal areas of functionality: statistics aggregation and SQL tracing. Statistics aggregation allows the database to collect performance metrics scoped to a specific client identifier or to a service/module/action combination, independent of the general instance-level statistics. Tracing functionality allows a DBA or developer to enable extended SQL trace output for all sessions associated with a given client identifier, service/module/action combination, a single session, or the entire database instance. In an EBS context, this package is the mechanism by which targeted end-user or concurrent-program performance investigation is performed without enabling instance-wide tracing, which would generate excessive trace volume and I/O.

Key Procedures and Functions

The ETRM metadata documents twelve procedures grouped into three families.

Constants ALL_MODULES and ALL_ACTIONS are provided so callers may indicate that a given module or action dimension should match all values.

Tables Accessed

DBMS_MONITOR does not read or write application tables. It operates against RDBMS-internal instrumentation structures and data dictionary views, including the dynamic performance and trace configuration views that hold the persisted client identifier, service, module, and action tracing and aggregation settings. The ETRM metadata lists no referenced tables via APPS synonyms, and the package is not referenced by any other documented EBS package. This confirms that DBMS_MONITOR is a diagnostic facility rather than a component of the EBS application data model; its effect is to modify session-level instrumentation, not business data.

Usage Notes

DBMS_MONITOR is generally invoked from SQL*Plus or another direct database client by a DBA or an application support analyst, rather than from EBS forms or concurrent programs. The SESSION_TRACE_ENABLE procedure is the specific entry point most commonly sought when investigating a misbehaving EBS session, since it can be called using the SID and serial number obtained from a query against the session views. In EBS 12.1.1 and 12.2.2, the most frequent usage patterns are tracing a named concurrent program by its service/module/action attributes, tracing a specific user by client identifier where the application sets it, and tracing a single session identified through the EBS session administration forms. Administrators should note that enabling database-level trace has significant file-generation and I/O consequences and should be time-boxed. Disabling trace with the corresponding procedure is equally important to prevent continued trace file accumulation. Because the package executes with SYS privileges, custom code should invoke it under controlled administrative accounts and not from within application code paths.