Oracle Enterprise Manager Oracle Trace User's Guide | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
Oracle Trace is a general-purpose data collection system that collects data for any software product. Use Oracle Trace to collect a wide variety of data, such as performance statistics, diagnostics data, system resource usage, and business transaction details.
Using the API, Oracle Trace collects data for specific software events, such as an application transaction, a user log on, or any event particular to the host product. To focus data collection, you can organize events into logical sets, such as a performance event set or an auditing event set.
Oracle Corporation is currently using the Oracle Trace data collection API in two products:
Oracle Trace provides a graphical Oracle Trace Manager application to create, schedule, and administer Oracle Trace collections for host products containing the Oracle Trace API. You can store data collected by Oracle Trace in Oracle database tables for access by SQL reporting tools and other products.
Most Oracle Trace users will be performing collections for products that already include the Oracle Trace API. Therefore, most users only need to be familiar with the data that can be collected for the host product and how to use the Oracle Trace Collection Manager application to create and administer data collections.
Developers who want to use the Oracle Trace API in their product must be familiar with instrumenting. Instrumenting is the process of embedding Oracle Trace API calls in a product. A developer who instruments a product must also create an Oracle Trace definition file that is used to define and control the event data that can be collected.
There are two types of events:
For example, the Oracle Server release 7.3 is instrumented for 13 events. Two of these events are:
Oracle Trace events can be organized into event sets for specific purposes. This allows you to easily focus the collection on specific events. You can establish event sets for performance monitoring, auditing, diagnostics, or any logical event grouping. For example, the Oracle Server includes an event set known as the EXPERT set. This set includes SQL event data used by the Oracle Expert tuning application.
You can use the same events in multiple event sets within a product's Oracle Trace definition file. Every instrumented product has an ALL event set which, as the name suggests, includes all of the events defined for the product.
Once you create a collection object, it can be used immediately, scheduled to execute at a specific time, or executed at specified intervals. When a collection executes, it produces a file containing the event data for the products that participated in the collection. You can also use a collection object to create other similar collections.
You create and administer Oracle Trace collections through the Oracle Trace Manager application. This is a client-based Windows application that runs on the Oracle Enterprise Manager console. The Oracle Trace Manager automatically discovers Oracle Trace instrumented products that are installed on all nodes that are known to the Oracle Enterprise Manager console. It includes a Collection Wizard that quickly and easily creates and executes collections.
The preferred method for accessing Oracle Trace data is by formatting it to Oracle tables. This makes the data available for fast, flexible access. The formatting process takes the data from the collection binary file and inserts it into predefined Oracle tables. A collection can be formatted while it is occurring. Once the data is formatted, you can access the data using SQL reporting tools, scripts, and other applications. For example, the Oracle Expert database tuning application can automatically access and analyze Oracle Server SQL event data from the Oracle Trace formatter tables.
This capability allows the Oracle Trace user to track a transaction or some other activity across multiple products. Resource usage and process time can be tracked for each product and event participating in the transaction, allowing performance bottlenecks to be easily identified.
To use this advanced capability, you must instrument all products participating in the collection with the Oracle Trace cross-product API calls. The Oracle Server release 7.3 and SQL*Net release 2.3 products include cross-product instrumentation. Additional Oracle products and third-party applications that are instrumented with the Oracle Trace API can also take advantage of this feature.
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |