Understanding SQL*Net |
Library |
Product |
Contents |
Index |
Oracle Trace is a general-purpose data collection product that has been introduced with the Oracle Enterprise Manager systems management product family. Oracle Trace allows Oracle products to collect data for a variety of uses, such as performance monitoring, diagnostics, and auditing. In addition to its use in SQL*Net release 2.3, Oracle Trace is also used to capture data for the Oracle Server release 7.3. For further information, see the Oracle Trace User's Guide contained in the Oracle Enterprise Manager Performance Pack documentation set.
Oracle Trace for SQL*Net release 2.3 is automatically invoked and controlled by the same diagnostic parameters used for the current SQL*Net tracing facility. When you perform SQL*Net tracing for a client, server, or listener, you are generating trace files for the current tracing mechanism and the new Oracle Trace facility.
SQL*Net tracing is controlled by setting SQL*Net control file parameters in your SQLNET.ORA and LISTENER.ORA control files. For example, starting and stopping SQL*Net client tracing is done by setting the SQLNET.ORA parameter, TRACE_LEVEL_CLIENT, to one of the following values: OFF, USER, or ADMIN. The default value for this parameter is OFF. Setting the value to USER will start user-level tracing for SQL*Net client processes, which generates English sentences describing significant client networking events. Similarly, starting and stopping SQL*Net listener tracing is done by setting the LISTENER.ORA parameter, TRACE_LEVEL_LISTENER, to one of the following values: OFF, USER, or ADMIN. Follow the tracing instructions contained in the Oracle Network Products Troubleshooting Guide to enable Oracle Trace for SQL*Net.
In addition, Oracle Trace SQL*Net tracing can be dynamically controlled by the Oracle Trace management console sold with the Oracle Enterprise Manager Performance Pack. Refer to the Oracle Trace User's Guide for more information on using the Oracle Trace Management Console.
trcfmt filename.cdfIn this syntax, filename should include the path to the files if it is not executed in the directory where the .CDF and .DAT files exist. This script extracts the trace data from .CDF and .DAT files and separates them into .TXT files based on process. If you have collected data from several processes within a single set of .CDF and .DAT files, they will be extracted to ASCII files with the name Pprocess_id.TXT.
otrcrep [output_path] [-p] [-h] [-s] filename.cdfThis command may include the following options:
output_path | Optional. If not specified, the report files will be placed in the current directory. |
-p | Determines the type and number of reports created |
-h | Suppresses all event and item report headers, resulting in a shorter report |
-s | Produces reports similar to those produced by the SQL*Net tracing mechanism |
If the user wants more flexible, focused access to the SQL*Net trace data, the Oracle Trace data files can be formatted to Oracle tables for SQL reporting. Refer to the Oracle Trace User's Guide for information on formatting Oracle Trace data.
Prev Next |
Copyright © 1996 Oracle Corporation. All Rights Reserved. |
Library |
Product |
Contents |
Index |