Oracle Enterprise Manager Oracle Trace User's Guide Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index



Go to previous file in sequence Go to next file in sequence

Relating Data Between Products



This chapter describes how Oracle Trace lets you relate an event in one product to an event in another product so that you can understand the full context in which the event occurred. The following topics are discussed:

Methods for Passing Data Among Products

To understand the full context in which an event occurred, it can be helpful to relate an event in one product to an event in another product. For example, if a forms application has a form that makes a database call, it might be useful to group all the database activity associated with that form. You could do that by setting a cross-product item in the forms application and having Oracle Trace tag all database events with that cross-product item.

Relating events across products can sometimes be accomplished by explicitly passing items for those events through APIs and logging those items in both products for correlation at a later time.

For products that cannot explicitly pass items through APIs, Oracle Trace provides a mechanism called cross-product.

What Is the Cross-Product Mechanism?

The cross-product mechanism makes use of special items called cross-product items that are specified when an application is instrumented.

If two products are instrumented such that one of them sets a cross-product number and the other one logs it, that information can then be correlated. Table 6-1 lists the cross-product items available. These items are the only items available for use as cross-product items. All other items pertain to only one product at a time and cannot be related across products. Some of the cross-product items are already associated with certain products, that is, some of the cross-product items are reserved for Oracle and others are for general use.
Table 6-1: Cross-Product Items
Item Name

Item ID

Datatype

Description

CROSS-FAC-1

115

4-byte integer

Application ID used by high-level applications such as Oracle Financials

CROSS-FAC-2

116

4-byte integer

Forms ID or additional application ID

CROSS-FAC-3

117

4-byte integer

SQL*Net connection ID

CROSS-FAC-4

118

4-byte integer

Oracle7 Server transaction ID

CROSS-FAC-5

119

4-byte integer

Hash ID of SQL statement

CROSS-FAC-6

120

4-byte integer

Reserved for use by Oracle Rdb7

CROSS-FAC-7

121

4-byte integer

Available for general use

CROSS-FAC-8

122

4-byte integer

Available for general use

CROSS-FAC-9

123

4-byte integer

Available for general use

CROSS-FAC-10

124

4-byte integer

Available for general use

Item Name

Item ID

Datatype

Description

CROSS-FAC-11

125

4-byte integer

Available for general use

CROSS-FAC-12

126

4-byte integer

Available for general use

CROSS-FAC-13

127

4-byte integer

Available for general use

CROSS-FAC-14

128

4-byte integer

Available for general use

To use the cross-product items you must perform the following steps:


1.
Assign cross-product items to eventsin the product definition.

2.
Assign the appropriate values to the cross-product items in the Oracle Trace cross-product routines.
For additional information on cross-product items, see Cross-Product Items on page A-11.




Go to previous file in sequence Go to next file in sequence
Prev Next
Oracle
Copyright © 1996 Oracle Corporation.
All Rights Reserved.
Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index